Hi all
I would like to have an object (in this case a barrel) simulating a sarin gas attack where that if anyone came within a certain distance to this object then they would die. What I am wondering is there a way to have the script where I dont have to name EVERY unit from all sides in order to do this. I was going to use
? Soldier1 distance object 67877 >100: goto "death"
The problem I would have to name each unit then have a seperate line of code for each unit from all sides that may come in contact with this barrel.
Is there a way to have so that It can just detect anyone (in just a few lines of script) who comes close to it will die.
Thanks in advance for your help. ;D