Animation Effect
From TrainzOnline
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. Usually, the animation will be controlled by a script related to the asset.
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.
Comment: (by pcas1986) Animation effects do not seem to work without use of a script.