MatchOver

From M.U.G.E.N Wiki

Jump to: navigation, search



Trigger: MatchOver

Returns 1 if the match has ended. (For example, in the case of a best-of-three match, this will return true when one of the players or teams has won two rounds.)

Format:
MatchOver
Arguments:
none
Return type:
boolean int (1 or 0)
Error conditions:
none
Details:
Currently, MatchOver does not return true until the players start their win poses (state 180). This behavior may be subject to change in future releases.

Example:

trigger1 = !matchover
  Triggers if the match is not over. For instance, the current round
  may not yet have ended, or it may have ended without deciding the
  match.


Personal tools