Home   Help Search Login Register  

Author Topic: using Random command in a trigger  (Read 1106 times)

0 Members and 3 Guests are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
using Random command in a trigger
« on: 13 Jan 2005, 19:15:00 »
If in a trigger's activation field I use the Random command,
e.g.  [Random 5] Exec "somescript.sqs"
will the random number generated be the same on all clients?
urp!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:using Random command in a trigger
« Reply #1 on: 14 Jan 2005, 03:35:33 »
Emmmmmm.......No


Planck
I know a little about a lot, and a lot about a little.

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:using Random command in a trigger
« Reply #2 on: 14 Jan 2005, 19:02:28 »
Much easier ways to do this.
Instead just put in:

_VariableOne = (Random 5)

Easy as that.
I like your approach, lets see your departure.
Download the New Flashlight Script!