Jump to content
Sign in to follow this  
ForceLeader

animation codes

Recommended Posts

hi all! i have the game but i dont have the editing guid.

so the old ofp animation codes not work :-(

i will that a men sit down

name switchmove"EffectStandSitDown"

name PlayMove"EffectStandSitDown"

but not work

Share this post


Link to post
Share on other sites

I don't have ArmA yet but I've noticed 2 new eventhandlers in ArmA that might help to get the right anim strings.

Animchanged

and

AnimDone

Both EH's have a parameter that return the anim string. (_this select 1), I can't tell you more but it might help smile_o.gif

Edit : Ok, Gaia beat me. Jeez the names are even more difficult now crazy_o.gif

Share this post


Link to post
Share on other sites

Btw, what is the return of the animationstate command?

Is it the name of animation or things like "up", "down" or maybe "kneel" ?

Just curious... whistle.gif

Share this post


Link to post
Share on other sites
Btw, what is the return of the animationstate command?

Is it the name of animation or things like "up", "down" or maybe "kneel" ?

Just curious... whistle.gif

No, it's config name of anim.

For "Up", "down" etc. use unitPos command.

BTW: But setUnitpos isn't working in ArmA, it's immediately switched back to "AUTO" (I think it's because of FSM settings, but I'm not sure).

Share this post


Link to post
Share on other sites

Has anyone started to work on descriptions for all the moves? Or is there any place where one should post these description? I´ve been going trough them.

Share this post


Link to post
Share on other sites

it's not working for me,i'm probably just being dumb but what did you put in the soldiers init to get the animation working.

Share this post


Link to post
Share on other sites

soldier1 switchMove "AmovPercMstpSlowWrflDnon_SaluteIn"

or

soldier1 switchMove "WeaponMagazineReloadKneel"

neither working.

(soldiers name set to soldier1)

what am i doing wrong it's been ages since i did this in ofp.

Share this post


Link to post
Share on other sites

Both commands can't be executed in init fields or scripts, there must be little delay (0.01).

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  

×