Alek10 11 Posted August 11, 2014 Hello. I have been searching alot for this, but I can't find out how to do it. I need to make 2 or more Ai's standing and talking to each. Not with chat or anything, just the animation, where they move their mouths and maybe arms a little too. I don't know much about coding, so please write the whole code to make it happend. Oh and it need to be a loop so they won't stop :-) Share this post Link to post Share on other sites
LOzan 10 Posted August 11, 2014 (edited) Put this in the unit's init field: [this,"STAND","ASIS"] call BIS_fnc_ambientAnim; Or if you want them to be able to respond to contact, use this: [this,"STAND","ASIS"] call BIS_fnc_ambientAnimCombat; Edited August 11, 2014 by LOzan Typo Share this post Link to post Share on other sites
Alek10 11 Posted August 11, 2014 Thanks, that works, even tough their mouth/lips don't move much, but it will go. From a little distance it looks like they are talking.. But how do I make it work if they are unarmed? I mean it still works, but the movements and arm positions are only for armed men?? Share this post Link to post Share on other sites
IndeedPete 1038 Posted August 11, 2014 "STAND_U1", "STAND_U2" and "STAND_U3" are for unarmed units. And this will cause some lip movement: this setRandomLip true; Share this post Link to post Share on other sites
Alek10 11 Posted August 11, 2014 STAND_U1 to U3 don't seem to work. Nothing happens Share this post Link to post Share on other sites
IndeedPete 1038 Posted August 11, 2014 Is the unit really unarmed? Are you calling BIS_fnc_ambientAnim or BIS_fnc_ambientAnimCombat (the possible animation sets are different)? Share this post Link to post Share on other sites
Alek10 11 Posted August 11, 2014 Oh I was using BIS_fnc_ambientAnimCombat. I removed "Combat" so it works now. Thank you very much :) Now I can finally continue my mission Share this post Link to post Share on other sites