Astart
Build |
N/A |
Version |
N/A |
Modern usage of this feature has been superseded by Timer.
The astart command starts an animation that has been set up using the animate command and sets it in either looping or non-looping mode. The default is for the astart command to start the animation in non-looping mode.
Usage
astart [name] [looping] [global]
name
The optional name argument specifies the name of the object containing the animation to be started. Object names are assigned via the name command.
looping
looping is a boolean argument that specifies whether or not the animation will run in a loop. A looping animation repeats endlessly, while a non-looping animation stops when it reaches the last frame and causes an Adone condition to be triggered for the object when the animation completes.
global
The optional global argument will cause triggers to initiate the command for all users have the object in view. Without it, the command will be triggered exclusively for the user who activates the trigger (bump, activate, adone). By default, commands are not global.
Examples
- See the animate command for an example of how to use astart.
External links
- Astart Astop Animation (AAA): SW City Builders Academy Tutorial
|
|
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:Commando:Astart |