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 make lightning go off randomly?
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: How to make lightning go off randomly?

It's a custom function.
The devs could have named it
void ThunderLights(int a, float b)
aswell.

And to make "random" timers, use RandInt or RandFloat.
If you use RandInt(0, 10); for example it will choose a random whole number between (and including) 0 and 10.

(This post was last modified: 03-27-2011, 07:04 PM by Pandemoneus.)
03-27-2011, 07:03 PM
Find


Messages In This Thread
RE: How to make lightning go off randomly? - by Pandemoneus - 03-27-2011, 07:03 PM



Users browsing this thread: 1 Guest(s)