Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
criizp

Lose when enemy is killed inside trigger

Recommended Posts

Hello people!

I'm trying to make an escape scenario to play with some friends, and the problem is that I want a trigger in the scenario that reacts and makes bluefor lose if they kill the escaper inside the trigger.

I also want the trigger to not react if the escaper is outside it. So the escaper can be outside the trigger without losing or something else.

Thanks in advance! -Criizp ;)

Share this post


Link to post
Share on other sites

Something like

([thistrigger, getpos escaper] call bis_fnc_intrigger) && !alive escaper

It seems you have to use bis_fnc_inTrigger as a dead unit does not seem to appear in a triggerlist from what i just quickly tested, but you can still test its position against a triggers area.

Share this post


Link to post
Share on other sites
Something like
([thistrigger, getpos escaper] call bis_fnc_intrigger) && !alive escaper

It seems you have to use bis_fnc_inTrigger as a dead unit does not seem to appear in a triggerlist from what i just quickly tested, but you can still test its position against a triggers area.

Thank you, I'm going to try this out and I'll reply back if I get any further problem.

---------- Post added at 14:39 ---------- Previous post was at 14:00 ----------

Yay it worked! Thank you very much for the help :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×