The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => MUGEN Class => Topic started by: JustNoPoint on October 14, 2015, 08:00:14 pm

Title: MatchOver (Triggers)
Post by: JustNoPoint on October 14, 2015, 08:00:14 pm
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:

Code:
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.