Jump to content
Sign in to follow this  
BF CEO PATTERSON

Geeting A AI Unit To Activate An Object Action

Recommended Posts

Hi,

ia mdooing a mission where i would lieka unit to run up and activate an object action like a player can i cant find out how to do this please can someone help

Share this post


Link to post
Share on other sites

Try:

_yourunitname [b]action[/b] "ACTION"

Where "ACTION" is a string variable that corresponds to a certain action. For example to get your man to salute in OFP you would type:

_yourunitname [b]action[/b] "SALUTE"

I'm not sure what the action names are in ArmA 2 tho. The command structure seems the same however.

Share this post


Link to post
Share on other sites

Some more info would help. Like is the AI unit part of your group or an AI on it own?

Like chris said, your probably looking for the "action" command.

There's no actions list for arma 2 (not yet afaik), so until then this should also work:Armed Assault: Actions List

If the action your looking for is not in there, then you may have to create a new action.

More info here: addAction

So it all depends on what exactly you would like the unit to do... :rolleyes:

I hope this info helpes you, good luck... :bounce3:

Share this post


Link to post
Share on other sites

ok basiacly you knpow the nuke addon i wasnt a ai unit on its own to run up to this and activate the power on & then the laucn sequence i also may do this via a trigger but the action command does not work

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  

×