StateType

From M.U.G.E.N Wiki

Jump to: navigation, search


Trigger: StateType

StateType gives the player's state-type. Refer to the section on StateDef in the CNS documentation for more details on StateType. Useful for "move interrupts" in the CMD file.

Format:
StateType [oper] state_type
Arguments:
[oper]
=, != (other operators not valid)
state_type (char)
S, C, A, L
Stand, Crouch, Air and Lying down state-types
Return type:
boolean int (1 or 0)
Error conditions:
none

Example:

trigger1 = StateType != A
  Triggers if the player is not in an air-type state.


Personal tools