Jump to content
Sign in to follow this  
FinalSin

Animations (mostly) not working

Recommended Posts

I'm trying to get into the ol' animation gig. I've put down an insurgent rifleman, and I've got an init that looks like this:

this playMove "AinvPknlMstpSlayWrflDnon_medic"; this disableAI "anim"

This doesn't work. In fact, none of the animations I've tried from either ARMA or ARMA2 work, apart from the sit animation.

What gives? If they all didn't work, I could understand! :P

Share this post


Link to post
Share on other sites

Animations must be activated AFTER the game has been initialized. Init parameters get processed BEFORE the game is initialized, hence the name.

Name the unit (in my case below, its called UnitName), create an init.sqf file, and in that put:

sleep 0.1;
UnitName switchMove "AinvPknlMstpSlayWrflDnon_medic";
UnitName disableAI "ANIM";

It's quick and dirty but it works.

Remember: if you're doing a multiplayer mission... animations are generally local only when called with switchMove/playMove. That means you need to call them on each client (and putting them in init.sqf will do that)

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  

×