Jump to content
gc8

Radio anim on player

Recommended Posts

Hi

I wanted to play the radio listening animation on player but only got it working with the AI. Here's my code:

 

listenToRadioAnim =
{
params ["_man"];

_man playMove "Acts_listeningToRadio_In";

_man playMove "Acts_listeningToRadio_Loop";

_man playMove "Acts_listeningToRadio_Out";
};

rm call listenToRadioAnim;

 

When rm is AI it works but when I try to run this code on player the player just puts his weapon on back

Anyone know whats wrong?

 

thx!

 

 

Btw, can you make the animation play when unit is kneeling so that the stance doesn't change?

 

Edited by gc8
another question

Share this post


Link to post
Share on other sites

For an easier radio animation, I use:

_unit playAction "handGestureRadio";

 

This plays a brief radio gesture/animation which works in all stances, but looks bad in prone. Otherwise, have you tried switchMove or playMoveNow?

Share this post


Link to post
Share on other sites
11 hours ago, phronk said:

For an easier radio animation, I use:

_unit playAction "handGestureRadio";

 

This plays a brief radio gesture/animation which works in all stances, but looks bad in prone. Otherwise, have you tried switchMove or playMoveNow?

 

I tried those commands you suggested but I get same results. And _man playAction "handGestureRadio"; does nothing 

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

×