Jump to content
Sign in to follow this  
Oglesbee

need help with a trigger to detect if an ai is in a group

Recommended Posts

Hi I am building mission. that the final objective is to capture an hvt.

I have the capture script working fine and all the other objectives are good to go

would the proper trigger condition be

ed== group _player;

or ed _group = group _player;

ed is the character to be captured.

my second question is is it possible to make this mission show the taskdestination only after the 5 other objectives are completed.

I have this task in the briefing as a Target of opportunity and intel comes in upon completion of 5th objective that he is on the island. What i am trying to avoid is people setting Target of Opportunity as current task and revealing his location.

Share this post


Link to post
Share on other sites

group ed == group player

Sure, just don't run the setSimpleTaskDestination command till your other objectives are complete. You'd add it as a trigger later. This demo mission shows adding tasks during a mission.

Share this post


Link to post
Share on other sites

Thanks Kylania for the demo mission and the help. Now that i see it humbles to know how even the simplest thing can stump you just to let you know you got a lot more to learn.

Ohh i sent you a message on armaholic about this too disregard it.

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  

×