PorkchopExpress 1 Posted June 24, 2002 what is the activation in the trigger to kill the soldier that enters the wrong place? Ive been looking everywhere for this and it seems some of the tutorials ive found dont work correctly. Share this post Link to post Share on other sites
russin 0 Posted June 24, 2002 i use (set dammage 1) Share this post Link to post Share on other sites
Chris Death 0 Posted June 24, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">i use (set dammage 1)<span id='postcolor'> I guess, you like confusing others Porkchop Xpress: "_x setdammage 1" foreach thislist This will kill all units, in the trigger's list. This means, if you let the trigger be activated by west/present, all west units inside the trigger area are in: thislist --> all those units will receive a damage of 1 => killed ~S~ CD Share this post Link to post Share on other sites
PorkchopExpress 1 Posted June 24, 2002 in the trigger list...sorry for the dumb questions, but how do i call name a variable in a trigger and call it from a script? (i think this is what you mean, right?) Share this post Link to post Share on other sites
JAP 2 Posted June 24, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (PorkchopExpress @ June 24 2002,11:25)</td></tr><tr><td id="QUOTE">in the trigger list...sorry for the dumb questions, but how do i call name a variable in a trigger and call it from a script? (i think this is what you mean, right?)<span id='postcolor'> Just put the line into your "on activation" field of the trigger. Share this post Link to post Share on other sites
PorkchopExpress 1 Posted June 24, 2002 still not working. here is my trigger: axis a 200 axis b 200 Activation: West Repeatedly Not present text: zone condition:this on activation:"_x setdammage 1" foreach thislist; I can be a west soldier and walk out of the trigger area scot free everytime. Share this post Link to post Share on other sites
Lt_Damage 0 Posted June 25, 2002 Depends what you are trying to accomplish, we thought you wanted a safezone the enemy could not enter. If you make the trigger as described, and have On Activation : West Repeatedly then have "_X setdammage 1" foreach thislist etc it will definately work. Why you are having it set to "NOT PRESENT" and making it when they Leave an area I have no idea, but it doesn't fit in with your original request for a safezone. Share this post Link to post Share on other sites
Lt_Damage 0 Posted June 25, 2002 What I would like to know is how do I make a script that kills or punishes an individial that shoots at people in a safezone? It's all very well to stop them entering but I still get people who think they are funny and like to snipe into the safezone :/ Any ideas? Share this post Link to post Share on other sites
PorkchopExpress 1 Posted June 25, 2002 "Not present" because i wanted a player to be punished when he left the area. I had to change it to preswnt, and add zones all around the map, which was a lot more time consuming, but it works now. Share this post Link to post Share on other sites