Frame

From ActiveWiki

Jump to: navigation, search

The frame command sets the current frame of an animation that has been set up using the animate command.

Contents

[edit] Usage

     frame [name] [+/-] number

[edit] Description

[edit] Name

The optional name argument specifies the name of the object with the animation. Object names are assigned via the name command.

[edit] Number

The number argument specifies the new frame number. It can either be an absolute frame number, or a relative frame number with a + or - in front to move the animation forward or backwards by a given number of frames.

[edit] Example

     create animate me turn 5 5 0, astop; activate frame +1

This action sets up a 5-frame animation called "turn". The animation starts out halted on frame 1, but each time the object is clicked on the animation will advance by one frame.

Object Scripting

Triggers: CreateBumpActivateAdoneCollideSdoneEnter ZoneExit Zone

Commands: AddforceAddtorqueAnimateAstartAstopCameraColliderColltagColorCoronaEnviExamineFrameGroupLightLinkLockMatfxMediaMidiMoveNameNoisePictureRotateSayScale SeqShadowSignSolidSoundTagTeleport / TeleportxTextureURLVelocityVisibleWarpWeb

Personal tools
In other languages