Jump to content
Sign in to follow this  
bospor

Getting a menu option to surrender

Recommended Posts

In the mission I am making a player is ambushed. I want to give an option to him to surrender. If he does that, the player will be setCaptive and enemies will not shoot him. Ideal would be to also play an animation to come out and place player's hands on the head. Can someone help me with that please?

Share this post


Link to post
Share on other sites

Something like this?

player addAction ["Surrender", {
    _this select 0 setCaptive true;
    // add animate code
}];

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  

×