OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dream on 29 Jan 2003, 01:06:28
-
Ok I want to create a trigger that will kill anyone that moves into it...
I used this in the activation
this setdammage 1.0
but I get an error when ever someon moves into it.. what am I doing wrong?
-
I think the long way to do it is to put ALL the peeps playing into the line........like if you have your squad all named, say p1 p2 p3 p4 p5 and the enemy is e1 e2 e3 e4 e5 then in the field it would be
[p1,p2,p3,p4,p5,e1,e2,e3,e4,e5] SetDammage 1.0
Just a thought, but I bet someone here will correct me.
-
Try searching for "killing zones".
Anyways this is how I do it:
Create a trigger activaction anybody and set it to repeatedly
On activation "_x setdammage 1" foreach thislist
then create a trigger that covers all the players you want to die when they enter the zone
set it to anybody and on activaction: PlayersList = ThisList
and it should work