
Officer egg
Joined: Mar 16, 2008
Dancing is forbidden.
|
Posted: Jul 10, 2008 01:13 PM
Msg. 1 of 3
Like, on extinction where you kill the biped and it turns to night.
How do I script that?
|

gruntfromhalo
Joined: Nov 21, 2007
actual loli
|
Posted: Jul 10, 2008 05:04 PM
Msg. 2 of 3
First, you copy the BSP and add it to the scenario, so there is 2 BSPs. Make one of the BSPs have a night sky, the other day. Run lightmaps/radiosity for the other BSP so that it would be dark. Make a biped named switch. Then for scripting (I'm not that good at scripting so it might have an error...). (script startup nightday (sleep_until (= (unit_get_health switch) 0)) (switch_bsp 1) )
|