ChangeState

From M.U.G.E.N Wiki

Jump to: navigation, search



State Controller: ChangeState

Changes the state number of the player.

Required parameters:
value = state_no (int)
state_no is the number of the state to change to.
Optional parameters:
ctrl = ctrl_flag (int)
ctrl_flag is the value to set the player's control flag to. 0 for no control, nonzero for control.
anim = anim_no (int)
This is the action number to switch to. If omitted, the player's animation will remain unchanged.

Example:

; Change to standing state, and give player control
type = ChangeState
value = 0
ctrl = 1


Personal tools