VictoryQuote

From M.U.G.E.N Wiki

Jump to: navigation, search


State Controller: VictoryQuote

Selects a victory quote from the player to display in the next victory screen.

Required parameters:
none
Optional parameters:
value = quote_index (int)
Specifies the index of the quote to use. Valid index values are from 0 to 99. If quote_index evaluates to an invalid index, a random quote will be selected. Defaults to -1.
Notes:
This controller can be called by any player at any time during a match; however only the winning player will affect the quote that is shown. This controller only affects the victory screen immediately following the current match. This controller has no effect if executed by a helper. The actual victory quotes are specified in the [Quotes] group of the player's constants file.

Example:
[State VictoryQuote]
Type = VictoryQuote
Trigger1 = P2Name = "Kung Fu Man"
value = 3

Will show the 3rd quote defined in the .CNS file if you win against an opponent called Kung Fu Man.


Personal tools