Jump to content
Sign in to follow this  
jubbie

Triggers

Recommended Posts

Hullo

I'm curious to know if anyone might have a solution to this - I'm trying to create a trigger that adds an action to the player. That part isn't hard. But I also want to remove that action from the player when he exits the trigger area if he doesn't use the action.

So:

Player enters trigger area, gets an addaction:

"Feed fish"

He choses not to feed the fish.

He leaves the trigger area but he still have "Feed fish" in his action menu, which I don't want (in case he decides to "feed the fish" in other trigger area - in which case he'd have two options to feed fish in his action menu).

I've tried everything I could think of...

Share this post


Link to post
Share on other sites

well, has been some time since i last did that..

afaik it was like

condtion:blabla

on actiovation: ACTION1 = dude1 addaction ["feed fish", feedfish.sqs]

on deactivation: dude1 removeaction ACTION1

not sure is the addaction command looked like that... rock.gif

Share this post


Link to post
Share on other sites

Edit - never mind. It does work right... I just made a typo. Thank you very much! biggrin_o.gif

Share this post


Link to post
Share on other sites

hello,

how to macke units get out of truck when they are under fire!

Thanks,

Prvi

Share this post


Link to post
Share on other sites

And for this you must ask in a more than 4 years old thread?

Use the forum search, this has been asked many times since the game was released in 2001. :rolleyes:

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×