Home   Help Search Login Register  

Author Topic: Kill all in a radious of 75m  (Read 421 times)

0 Members and 1 Guest are viewing this topic.

Offline wired

  • Members
  • *
  • Explosion Scripter for the [unsung] mod!!!
Kill all in a radious of 75m
« on: 13 Apr 2004, 21:20:29 »
Ok, all i want to do (from a SCRIPT) is make all things (placed on editor, not bushes an crap ;D) die if they are in a radious of 75m from a logic (camcreated). If you can help...plz do!
We have a problem at 'Oscar-Charlie 2-7' do you read me? Well its that guy with the RPG!

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
Re:Kill all in a radious of 75m
« Reply #1 on: 13 Apr 2004, 21:36:41 »
Is it essentially VITAL for it to be a gamelogic  

Because a trigger would be much easier,
And you CAN move triggers around in game if that is the primary concern

If So…
Create a trigger to the specification you want, call it killtrigger

 use the following script code

Killtrigger.sqs

Code: [Select]
#top
_units = (list killtrigger)
"_x setdammage 1" foreach _units
~1
goto "top"

However,

I think you can just set the trigger to repeatedly and put in the On activation field

"_x setdammage 1" foreach thislist
« Last Edit: 13 Apr 2004, 21:37:18 by SilentHunter »
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]