Jump to content
Sign in to follow this  
SupremeTDM

Help with AI performing animations

Recommended Posts

Hello,

 

I am trying to add some animations to my AI actors and have had trouble in getting them to act smoothly and not just teleport around. My situation is that I have an Officer leaning on a table, playMove in his init. I want the below script to be put in a trigger activation and have it fire when the player walks into the room. The trigger fires and the officer terminates the leaning and then takes a seat at his desk.

of1 call BIS_fnc_ambientAnim__terminate; 
[] spawn 
{sleep 3; [of1, "SIT_U1", "ASIS"] call BIS_fnc_ambientAnim;};

The problem is that the terminate works but the officer teleports instantly into the chair, no animation of him turning and sitting. I have read about switchMove, playMoveNow, etc. and ambientAnim seems to work best so I am hoping someone can help me figure this out.

 

I am using ACE, dlc for recon, global, apex, jets, helicopters

Thanks in advance

Edited by SupremeTDM
clarity

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  

×