Home   Help Search Login Register  

Author Topic: Bombarding  (Read 989 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