Frictional Games Forum (read-only)

Full Version: Fake lightning
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to turn OFF a dark box light, turn ON a light box light, then turn OFF the light box light, and turn ON the dark one, to make an effect that would look like lightning?

Just wondering before I start scripting it, dont want to waste time if it isn't possible. Thanks all! Big Grin

You could use FadeLightTo, coupled with some timers for one boxlight
OR
Use SetLightVisible, coupled with some timers, to activate and deactivate each boxlight.
I've never used those scripts, so would it be just a

SetLightVisible (true), Timer for 0.1f, SetLightVisible (false)?

----

EDIT: Any timer set under 1.0f does not seem to trigger, help?


----

JK, everything is working, just had to restart the game. Thanks Obv. + feeback for you good sir! Big Grin
You'd have more flexibility with the flickering feature of the lights.
O_O Applied flicker... and fainted at the awsomeness. <3 Thank you!