Jump to content
Sign in to follow this  
TurokGMT

Trigger problem

Recommended Posts

Hey again everyone,

well, now my scipt for occupying a building with guer units works, I now have a new problem =]

I've created a trigger that is activated by the presence of guer units.

The trigger activates fine (checked with a debug sidechat)

The problem is that I've set the trigger to send a sidechat on deactivation.

From reading around it appears that dead units do not count towards a "present" condition, so killing all the guer units should deactivate the trigger, right?

So...I blow up the building, killing everyone inside (for good measure, I shoot all corpses in the head a few times)

...trigger doesn't deactivate - or at least no sidechat is sent.

Is the problem that the units are being killed by the collapsing building?

The problem seems to arise if triggering units are killed by collapsing buildings.

I've set up a small test trigger with the same conditions with a unit in its trigger area, and ordered him in and out of the trigger area - that works fine.

I've shot him - that triggers the on deactivation fine.

I've blown him up grenades - on deactivation fine

I've blown him up with a satchel charge...seems ok too.

just need to kill him with a collapsing building now... =]

Any ideas why the first trigger might not be working?

Edited by TurokGMT

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  

×