So i'm trying to animate an item for blockland and I think the problem may be with the script.
If there is a chance it is the model, this is how I have created the animation in blender:
- I have created an animation on the model from frame 0 to 10 and called that sequence "fire".
- The armature's name is "Bone", I don't think it makes a difference but i'm unsure.
This is what my exporter window looks like:
I'm wanting the item to play the animation once when the player equips it.
stateName[0] = "Activate";
stateTimeoutValue[0] = 0.15;
stateTransitionOnTimeout[0] = "Ready";
stateSound[0] = weaponSwitchSound;
stateName[1] = "Ready";
stateTimeoutValue[1] = 0.25;
stateSequence[1] = "fire";
Is stateSequence the name for the animation to play in the model? That's what i'm currently assuming.