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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fake lightning
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#1
Fake lightning

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


Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 03-31-2012, 07:49 AM by JetlinerX.)
03-30-2012, 11:32 PM
Website Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: Fake lightning

You could use FadeLightTo, coupled with some timers for one boxlight
OR
Use SetLightVisible, coupled with some timers, to activate and deactivate each boxlight.

03-30-2012, 11:37 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#3
RE: Fake lightning

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

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 03-31-2012, 12:12 AM by JetlinerX.)
03-30-2012, 11:39 PM
Website Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Fake lightning

You'd have more flexibility with the flickering feature of the lights.

Tutorials: From Noob to Pro
03-31-2012, 12:44 AM
Website Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#5
RE: Fake lightning

O_O Applied flicker... and fainted at the awsomeness. <3 Thank you!

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

03-31-2012, 01:47 AM
Website Find




Users browsing this thread: 2 Guest(s)