MoveGuarded

From M.U.G.E.N Wiki

Jump to: navigation, search



Trigger: MoveGuarded

This trigger is valid only when the player is in an attack state. MoveGuarded gives a non-zero value if P2 is guarding, or has guarded, P1's attack. It gives 0 otherwise. P1 is the player, and P2 is his opponent. Typically used with the "StateNo" and "Command" triggers for detecting move-interrupts in the CMD file.

Format:
MoveGuarded
Arguments:
none
Return type:
int
Error conditions:
none
Details:
See Details section for MoveContact trigger.

Example:

trigger1 = MoveGuarded
  True if P1's attack was guarded by P2.


Personal tools