Jump to content
Sign in to follow this  
kocrachon

Make them look like they are working.

Recommended Posts

So I want to make some of my guys walk to a waypoint and start moving around, preferably some sort of body motion to make it look like they are building something. how do I go about doing that? Just give them bodily actions.

Share this post


Link to post
Share on other sites

Try animations like:

anim = "AmovPsitMstpSlowWrflDnon_Smoking";

anim = "AinvPknlMstpSlayWrflDnon_medic";

with

_AI playMove _anim;

See ArmA:_Moves for more anim's.

Share this post


Link to post
Share on other sites

so if I named the AI bob1 I would type

bob1 playmove "AmovPsitMstpSlowWrflDnon_Smoking";

like that?

Share this post


Link to post
Share on other sites

Sorry guys for my ignorance - I tried that and it doesn't seem to work - I've named the AI and put the exact code in the init line - but the guy just stands there...

have I done something wrong?

Thanks for your help

Stew

Share this post


Link to post
Share on other sites

You can't use playmove in a unit's init line. The init line is executed before the mission begins.

You'll need to execute the code from somewhere else (for example with a script, or from a waypoint or trigger's onActivation line).

Share this post


Link to post
Share on other sites

Oh, woops - thanks mate - I'll check that out wink_o.gif

Cheers

Stew

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  

×