Jump to content
Sign in to follow this  
Tiuhtukkainen

Trigger activation via command menu

Recommended Posts

Hi, I was wondering if it was possible to make "Move" or other commands given through GUI activate a trigger. I know you could do it with the radio channels et cetera, but it would be most intuitive if the trigger could be activated by selecting command like "Move" or "Regroup".

 

Basically I just want AI teammates have ambient animations when the mission begins, then cancel them after I issue "Move" or "Regroup" command. 

 

////

 

E: Is there a way to check if unit B is following unit A? Because it seems that's what it boils down to, at least with my very limited understanding of the subject. 

 

When doStop command is placed on the init field the unit is not currently following the player (group leader). "Regroup" is apparently the same as CommandFollow (radio) or doFollow (not radio) command. 

 

If the condition for BIS_fnc_ambientAnim__terminate was if unit B follows unit A, wouldn't that do the trick? 

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  

×