I've been trying via LUA to manipulate (start, stop and reverse) the standing animations of a NPC Character's default outfit, but it seems I cannot achieve this; I can easily get other Character Animations to work just fine though - but it seems as if standing animations in particular don't respond to startAnimation, stopAnimation - is this so indeed? or am I doing something wrong?Idle, walk, talk & random character animations are controlled by the engine. The only character animations you can start/stop are the manually started "character animations".Thank you!
aha, thought so!No problem mate. That's not to say you can't force which frames should be played or if they should be played forward or backwards. It's possible to control that with Lua script.Glad to hear that!Thanks again AFRLme
Once the standing animations are active, you can manipulate the start/finish frames of the animation like this:
local fAnim = getObject("ActiveAnimations[Standing01]") fAnim.AnimationFirstFrame = 10 fAnim.AnimationLastFrame = 30I have certain frames within my standing animations that call a function to decide on what the next sequence of frames should be, this allows for the charcater to have random idle animations.