Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetFakeTimeOfDay
Syntax
C++
int SetFakeTimeOfDay(IFunctionHandler * pH, float fakeHour);
Parameters 
Description 
float fakeHour 
fake hour of current day 

Syntax: Calendar.SetFakeTimeOfDay(10) 

Forces CryEngine to believe there is time different from our world time. The fake time is static. It is not used for RPG systems, only in TimeOfDay. 

 

Copyright (c) 2012. All rights reserved.