Jump to content
Sign in to follow this  
exevankeko

How do I put an animation where unit is sitting on the floor?

Recommended Posts

Hey guys how are you? I need a little help

How do I put an animation where unit is sitting on the floor?

Name a unit and put a waypoint in the On current field:

sit1 playMove "AmovPsitMstpSrasWrflDnon_Smoking";

but does not work, some units sit on the floor and others simply nothing works.

I need something to stay seated on the ground.

There are some other way to do this that works better?

Share this post


Link to post
Share on other sites
Try switchmove rather than playMove. You might want to disable parts of the AI if you don't want them to move.

I need the units are sitting on the ground, but if they see enemies want to stand and fight.

Share this post


Link to post
Share on other sites

On animation activation try and use _x disableAI "ANIM" before you call the sitting animation. Then place a trigger however close you want the enemy to be able to get to the unit, activated by the enemy and _x enableAI "ANIM"; _x switchMove "AidPercMstpSrasWrflDnon_AI"; that will put them in regular behavior mode after sitting. Hope this helps

---------- Post added at 07:52 ---------- Previous post was at 07:49 ----------

Also it helps to have a "hold fire" combat mode and "safe" behaviour on animation waypoints

Share this post


Link to post
Share on other sites

This was working well for me in Arma 2, no reason it wouldn't in A3 :

_unit disableAI "ANIM";
_unit action ["SITDOWN",_unit];
_unit enableAI "ANIM";

The unit will be sitting down until it sopts an hostile.

  • Like 1

Share this post


Link to post
Share on other sites

try this code and I think it works: [this,"SIT_LOW", "FULL", {triggerActivated tri5}] call BIS_fnc_ambientAnimCombat;

another question, as I do for the AI ​​turn on the lights in the helicopter while flying low?

Edited by exevankeko

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  

×