reaper9111 Posted December 18, 2009 Share Posted December 18, 2009 Hello guys, i'm working on a special effect (script) and i wonder how many second is a game day (24 Hour) ? i've look on CS wiki...but didnt find anyting on this !!! Also, id like to know if it would be possible to have an item chameleon like via script...or it can only be via a texture ? Many thanks ! Link to comment Share on other sites More sharing options...
nosisab Posted December 18, 2009 Share Posted December 18, 2009 Hello guys, i'm working on a special effect (script) and i wonder how many second is a game day (24 Hour) ? i've look on CS wiki...but didnt find anyting on this !!! Many thanks !Navigate through the Time functions. What you need is probably the ScriptEffectsElapsedSeconds In special that Special variable is what you want to use. Link to comment Share on other sites More sharing options...
reaper9111 Posted December 18, 2009 Author Share Posted December 18, 2009 i`ve checked it already, it not helping ! Link to comment Share on other sites More sharing options...
3rdtryguy Posted December 18, 2009 Share Posted December 18, 2009 I seem to recall that the standard time is one second of realtime =30 seconds of gametime. 2 real seconds would be one minute, so one game hour would be 120 real seconds, so 24 game hours would be 48 real minutes, or 2880 seconds. Link to comment Share on other sites More sharing options...
nosisab Posted December 18, 2009 Share Posted December 18, 2009 i`ve checked it already, it not helping !It works, follow the instructions at wiki. You can set some variable to the actual day and test for when it becomes a day different from the actual GameDaysPassed. That special variable reflects the game's time passage instead the real life time. You may want to use quest script variables, which keep their values even between game sessions. Link to comment Share on other sites More sharing options...
reaper9111 Posted December 18, 2009 Author Share Posted December 18, 2009 Msany thankx guys, i'll check and test it out ! Link to comment Share on other sites More sharing options...
Recommended Posts