Jump to content
Sign in to follow this  
MacRae

playMove Script Help

Recommended Posts

Hey Guys,

I have been playing about with some Animations, And im wondering...

Why when i use playMove I can no longer use some of the animation???

Is it something I'm doing wrong or am i using the wrong script???

If someone knows the script that is global and can use any Animations please tell me

Thanks a lot guys,

~MacRae~

Share this post


Link to post
Share on other sites

Some animations only seem to work with switchmove. Have you tried that?

Share this post


Link to post
Share on other sites

Yeah i have tried switchMove, But that only works localy, other players cant see the Animation

Share this post


Link to post
Share on other sites

As I explained at some other point, you'll just have to run the switchMove on everyone's client.

// Declare this in init.sqf or with your other functions.
MAC_fnc_switchMove = {
   private["_object","_anim"];
   _object = _this select 0;
   _anim = _this select 1;

   _object switchMove _anim;

};


// Use this when you wanna animate something using switchMove.
[[_unitToAnimate, "animationNameGoesHere"], "MAC_fnc_switchMove"] spawn BIS_fnc_MP;

Share this post


Link to post
Share on other sites

I love you kylania haahaahaa

Thanks that worked

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  

×