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: Bombarding  (Read 1397 times)

0 Members and 1 Guest are viewing this topic.

headshot_snipe

  • Guest
Bombarding
« on: 08 Sep 2002, 17:02:57 »
hullo ;D ;D

Is it possible to make bombs appear in the radius of a trigger at random ???. If anybody knows could they help me 'cause naming game logics one after the other is very long especially if you are making a big airstrike. 8)
thankx

HSS

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re:Bombarding
« Reply #1 on: 08 Sep 2002, 17:27:01 »
Yeah, stick this rune in your "on activation" field.

Note - set
radius to the desired radius in meters
set the number of random 360s in the array to the number of bombs.
For example, 4 bombs, 100 m radius.

LGB = "LaserGuidedBomb"; radius = 100; "bomb = LGB Camcreate [(radius * (_x mod 1))*sin _x, (radius * (_x mod 1))*cos _x, .5]" Foreach [random 360, random 360, random 360, random 360]
« Last Edit: 08 Sep 2002, 17:41:54 by Dinger »
Dinger/Cfit