Astart

From DeltaWiki
Jump to navigation Jump to search
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

Object Scripting

Building2.jpg

Triggers: CreateBumpActivateAdoneAtCollideSdoneEnter ZoneExit Zone

Commands: AddforceAddtorqueAlpharefAnimateAstartAstopCameraColliderColltagColorCoronaEnviExamineFrameGroupLightLinkLockMatfxMediaMidiMoveNameNoiseOpacityPictureRotateSayScale SeqShadowShearSignSkewSkyboxSolidSoundTagTeleport / TeleportxTextureTimerURLVelocityVisibleWarpWeb nl:Commando:Astart