Jump to content
Sign in to follow this  
tambovskya

Make a unit go into a animation

Recommended Posts

Alright. I did try most of those, I didn't try playActionNow and well. Ill try. Thank you.

---------- Post added at 21:58 ---------- Previous post was at 21:13 ----------

They are not working. soldierOne playMove "InBaseMoves_table1";

Share this post


Link to post
Share on other sites

"For an immediate transition use switchMove. This command must be executed after mission start. If you place it into init.sqs or in the Init field of some unit, it will not work. Just add a little delay (~0.001) and then place the command." ~ BIWIKI

Share this post


Link to post
Share on other sites
"For an immediate transition use switchMove. This command must be executed after mission start. If you place it into init.sqs or in the Init field of some unit, it will not work. Just add a little delay (~0.001) and then place the command." ~ BIWIKI

So, if you dont mind helping me out on this. What exact code would I write, and where?

Share this post


Link to post
Share on other sites

Well, if you want to make it simple and make the player do the animation once, then put this in his init

this playMove "InBaseMoves_table1";

If you want him to repeat it, make a .sqf and call it in his init with this

while {true} do {
if (animationState this != "InBaseMoves_table1") then 
{
	this switchMove "InBaseMoves_table1";
};
}

It will work, but I tried using a switchmove on your animation, and it didn't activate, so it might be something with the animation, if not, then i'm not sure :confused:

Share this post


Link to post
Share on other sites
Well, if you want to make it simple and make the player do the animation once, then put this in his init

this playMove "InBaseMoves_table1";

If you want him to repeat it, make a .sqf and call it in his init with this

while {true} do {
if (animationState this != "InBaseMoves_table1") then 
{
	this switchMove "InBaseMoves_table1";
};
}

It will work, but I tried using a switchmove on your animation, and it didn't activate, so it might be something with the animation, if not, then i'm not sure :confused:

I guess it's the animation. I've tried everything possible.

Share this post


Link to post
Share on other sites

Hm, I have the same problem. I tried many Anims but no one seems to work.

I mostly tried it with "switchmove" with a little sleep before the actual anim but the damn soldier just stands there -.-

Anyone got the "switchmove" command working in A3? Seems like it´s doing 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
Sign in to follow this  

×