Jump to content
Sign in to follow this  
Shadow_Spyder

Player Animations?

Recommended Posts

Ok, so i searched the ENTIRE forums for Player Animations, looked through the 10 pages I got and didn't find anything on this. I could have sworn I had seen something like this on these forums before though.. hmm. Well, anyway, I was wondering if anyone had a list of the player animations, like push-ups, salute, ect ect and the code i'd have to put in for them to work? I'd appreciate it. Thx

Share this post


Link to post
Share on other sites

Copy that.... I hate searchin through the biki... but luckily I actually ran into the list there on accident lol. Thx though.

Share this post


Link to post
Share on other sites

Perhaps someone could answer one more question about player animations:

1. If you wanted a soldier to stand at ease, for a long period of time, how would go about executing that?

As it is now, I'd like to get the soldiers to "guard" an entrance, asset etc. and the player anim runs through, then the soldier returns to doin his thing with his weapon up.

Thanks in advance notworthy.gif

Share this post


Link to post
Share on other sites

Use a script.

Let the animation play for your desired unit,

measure the time,

insert the time into the script and after that time let the script loop from the beginning.

Check if unit is alive before restarting the loop and if unit is dead, break the loop and exit the script.

Share this post


Link to post
Share on other sites

Nice man, nice. Ok, I'll fing the code for that. Much of the time it's just knowing "how to use" the code, then you're off an runnin'!!!

Thanks again notworthy.gif

Share this post


Link to post
Share on other sites

Also take use of the animationState command so you can detect exactly what animation the unit is in at any given time.

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  

×