ACTION

Description

Level: 3rd

(wm3d 0.41 or later) An Action.

Parent Elements

AMGR

Child Elements

nothing

Attributes

type (type:String) = ""

Type of action. Currently available actions are:

AUTOROT: rotation gradually
ROT: rotation at once
AUTOTRANS: translation gradually
TRANS: translation at once
AUTOSCALE: change scale gradually
SCALE: change scale at once
AUTODEPTH: change camera z-pos gradually
DEPTH: change camera z-pos at once
PLAYFOR: begin forward playing
PLAYBACK: begin backward playing
MOVESCENE: move to a specified scene
FORWARDSCENE: forward a scene
BACKSCENE: backward a scene
WAIT: wait
RESETVIEW: reset camera settings
RESET: reset scene (reload original XML)

Available parameters are:

x, y, z: extent for each dir (*ROT, *TRANS)
v: non-directional extend (*SCALE, *DEPTH)

AUTOROT, AUTOTRANS, AUTOSCALE, AUTODEPTH, and WAIT also use frame attribute of this element.

params (type:Int) = "0"

Parameters for this action. See type above first. Values are given by params="(name1):(value1) (name2):(value2)" in XML file. Acceptable parameters depend on the type, and the list of params are listed in type above.

frame (type:Int) = "0"

One of parameter for an Action. But, this is common for most events. This parameter specifies the number of frames (not time) to be spent in this action. This param is related to some parameters defined in the "param" attribute.