Jump to content
Sign in to follow this  
beno_83au

Killing a player when they leave the area.

Recommended Posts

I've got a MP map where I need to have a trigger/script that will kill a player if they leave the mission area. And please, keep it simple, I don't have any experience when it comes to things more than: this addweapon... or setunitpos...... and other simple ones like that. Thanks.

Share this post


Link to post
Share on other sites

How about sticking in a Game Logic named "centre" and having a script which goes:

#loop

? ((soldier distance centre) > 2000) : soldier setDammage 1

~10

goto "loop"

Share this post


Link to post
Share on other sites

This has been asked before, search the forums. It will save someone typing out a long winded explination.

RED

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">This has been asked before, search the forums. It will save someone typing out a long winded explination.

<span id='postcolor'>

lol RED - me thought the same when i saw the question wink.gif

But to avoid me posting only useless stuff in this thread,

i'll give you another hint:

depbo BIS' multiplayer maps (CTF,DM), and have a look,

how they are doing this with triggers (inner/outer/etc.)

~S~ CD

Share this post


Link to post
Share on other sites

Thanks Skumball, but I don't think that will work to well with my map, since the area is a square. But I'll have a go at dePBOing the other MP maps.

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  

×