Sets the specified int variable to a random value. Float variables cannot be set by this controller.

Required parameters:

Optional parameters:

Notes:

If you have placed P2 in a custom state through a successful hit, do not use variable assignment within the custom states. Otherwise, you will overwrite P2's variables, which can cause unintended malfunction of the opponent player.

Example:

;Assign a random number between 0 and 500 to var(5).
type = VarRandom
v = 5
range = 500