Adone
Build |
N/A |
Version |
N/A |
The adone (animation done) trigger occurs when an animation completes. It can be particularly useful for chaining together multiple actions across multiple objects.
Examples
create animate me jump 5 5 200, astop; activate astart; adone noise oeo.wav
This action runs a 5-frame jump animation when the object is clicked on, and then plays the sound file oeo.wav as soon as the animation is complete.
create animate me door 1 1 8000, astop; activate astart, visible off, solid off; adone visible on, solid on
This action paints the texture door1 onto the object when it's loaded into the scene and sets up an 8-second (8000 millisecond) animation timer. Clicking the object then causes it to turn invisible and non-solid, and to begin the 8-second animation timer. When the timer completes, the object is made visible and solid.
|
|
Triggers: Create • Bump • Activate • Adone • At • Collide • Sdone • Enter Zone • Exit Zone Commands: Addforce • Addtorque • Alpharef • Animate • Astart • Astop • Camera • Collider • Colltag • Color • Corona • Envi • Examine • Frame • Group • Light • Link • Lock • Matfx • Media • Midi • Move • Name • Noise • Opacity • Picture • Rotate • Say • Scale • Seq • Shadow • Shear • Sign • Skew • Skybox • Solid • Sound • Tag • Teleport / Teleportx • Texture • Timer • URL • Velocity • Visible • Warp • Web nl:Trigger:Adone |