Jump to content
Sign in to follow this  
PorkchopExpress

How to make a safe respawn area, or

Recommended Posts

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

</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 wink.gif

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

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

</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

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

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

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? biggrin.gif

Share this post


Link to post
Share on other sites

"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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×