Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
BlendTimeOfDay
Syntax
C++
int BlendTimeOfDay(IFunctionHandler* pH, const char* pProfileName, int blendDuration, bool force);
Parameters 
Description 
const char* pProfileName 
name of profile we want to blend into 
int blendDuration 
duration in seconds in game time 
bool force 
if there is blend in progress it will stops current blend and starts new one - this should be used when immediate blend dis requested 

Syntax: EnvironmentModule.BlendTimeOfDay(pProfileName, blendDuration, force) 

Blends Time Of Day profile from current one to specific one. If blending is already in progress it will queue next blend. Only last blend is queued.

Copyright (c) 2012. All rights reserved.