Jump to content
Sign in to follow this  
zapat

Alternative to setUnconscious?

Recommended Posts

I found that setUnconscious doesn't work in A3.

Is there an alternative for that for a player unit (switchable)?

I tried animations, but they don't seem to work either. The rollToBack becomes a normal crawlable position when the player has a weapon.

DisableAI "anim" / "move" doesn't work for player.

disabling player control diables every controls.

Any idea?

Share this post


Link to post
Share on other sites
disabling player control diables every controls.

player enablesimulation false

could help for that one.

Share this post


Link to post
Share on other sites

Thanks Bad Benson, this did the trick. Although a bit brutal solution and it needs constant monitoring if the unit is hit.

The following is kind of works too, if anyone else happen to have the same problem:

_unit playAction "AgonyStart";

waitUntil

{

animationState _unit == "ainjppnemstpsnonwrfldnon_rolltoback"

};

_unit disableAI "anim";

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  

×