Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

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

0 Members and 1 Guest 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!