Jump to content
Sign in to follow this  
aie-boshell

How Do I Enable AI Move After Surrendering With Surrender Action

Recommended Posts

Hello, I'm using the actions surrender command found here https://community.bistudio.com/wiki/Arma_3_Actions#Surrender.

 

I'm able to get it to work and what I've also done is add an action to the surrendered unit called "Secure Prisoner" using the addaction command.  The "Secure Prisoner" command then causes the surrendered unit to join the unit performing the action, however, the surrendered unit is frozen and unable to follow its new group.  I've tried to enable AI using the enableai command but it's not working an I've had no luck with searches.  Would anyone like to help me out?   Thanks in advance :-)

 

  • Like 1

Share this post


Link to post
Share on other sites

Try this:

Unit switchmove "AmovPercMstpSsurWnonDnon_AmovPercMstpSnonWnonDnon";

for hands down, or

Unit SwitchMove "";

 

  • Thanks 1

Share this post


Link to post
Share on other sites
21 hours ago, dyrmoon said:

Unit SwitchMove "";

That did it!   Thanks so much, Drymoon :-)

Share this post


Link to post
Share on other sites

Using Actions makes the trick 
 

pilotOne action ["Surrender", pilotOne];

but I cannot make the unit to stop surrendering and go back to normal ...
Nevermind, I need to read more carefully. The solution is already given  :goodnight:
 

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  

×