Animation Effect

From TrainzOnline
Revision as of 12:30, 18 June 2016 by Builderbob (Talk | contribs)

Jump to: navigation, search

The Animation effect kind is a "mesh-table" Container effect container. The following tags are supported:

kind "animation"
name ""
anim ""
looped 0
speed 1.0

Explanations and default values

The animation effect is used to define the animation for a mesh.

kind

Text. The kind name for this effect container.
Compulsory "animation".

name

Text. A name for this effect container. This name can be used in scripts.
Optional. Default ""

anim

Name. The name of an animation (.kin) file included with this asset
Compulsory.

looped

Boolean. 0 (false) = the animation executes once when triggered, then stops. 1 = the animation restarts when it reaches the end.
Compulsory.

speed

Value. A multiplier for the execution rate of the animation.
Compulsory.
Personal tools