Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change Skybox color over time?
GoreGrinder99 Offline
Member

Posts: 166
Threads: 47
Joined: Feb 2013
Reputation: 1
#9
RE: How to change Skybox color over time?

(08-21-2013, 03:58 PM)Fatalist Wrote: Lest try this:
void OnStart()
{
AddTimer("", 1800.0f, "Night_start");
}
void Night_start(string &in asTimer)
{
SetSkyBoxColor(0.05, 0.04, 0.3, 1);
AddTimer("night", 1800.0f, "Night_start");
}
Night skybox every 30 min. You can add similar timer for day skybox.

I have some night shift lined up for the next few days so I'll get back then, sorry for a delay. If anyone else has any ideas please suggest it!

-Grind to the Gore-
(This post was last modified: 08-21-2013, 09:46 PM by GoreGrinder99.)
08-21-2013, 08:58 PM
Find


Messages In This Thread
RE: How to change Skybox color over time? - by GoreGrinder99 - 08-21-2013, 08:58 PM



Users browsing this thread: 2 Guest(s)