Jump to content
Sign in to follow this  
stephen271276

Act Trigger when a door is opened?

Recommended Posts

As title says, I need a "unit doMove getPos player" command to fire once a certain door is opened?

I have an enemy officer hiding in an outdoor toilet NW of Chernogorsk grid 057-125 and the id is 336257

Could some one tell me how Id let a trigger know the door has been opened thus the player finding the enemy and then the enemy following the player?

Share this post


Link to post
Share on other sites

Put a Gamelogic on map. Init line: ID336257=position this nearestObject 336257

In your trigger condition: time > 5 AND ID336257 animationPhase "maindoor" > 0

:rolleyes:

Share this post


Link to post
Share on other sites

?? Doesnt work my friend, I done as you said and in the trigger on act put ..hint "works"..

to check it but the hint doesnt appear?

Share this post


Link to post
Share on other sites

Wrong name of the door... copied from above... :mad:

Try this: time > 5 AND ID336257 animationPhase "dvere1" > 0

:rolleyes:

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  

×