I'm trying to get animation working on blender 2.49b
(CLICK FOR BIGGER)
The sequence is called firecrackerReady and is called in the script here:
stateName[2] = "Charge";
stateTransitionOnTimeout[2] = "Armed";
stateTimeoutValue[2] = 0.8;
stateWaitForTimeout[2] = false;
stateTransitionOnTriggerUp[2] = "AbortCharge";
stateScript[2] = "onCharge";
stateAllowImageChange[2] = false;
};
function firecrackerImage::onCharge(%this, %obj, %slot)
{
%obj.playthread(2, firecrackerReady);
}
function firecrackerImage::onAbortCharge(%this, %obj, %slot)
{
%obj.playthread(2, root);
}
The export settings:
I can't seem to find out what the problem is, I have parented the model to the bone of the armature and animated the bone.
When I'm in-game, the animation does not play when the weapon is charged.
Any help is appreciated. Thanks.