YesNoOk
avatar

MatchOver (Triggers) (Read 1104 times)

Started by Just No Point, October 14, 2015, 08:00:14 pm
Share this topic:
MatchOver (Triggers)
#1  October 14, 2015, 08:00:14 pm
  • ******
    • www.justnopoint.com/
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.