Sets a contiguous range of the player's working variables to the same value. Either float variables or int variables can be set by this controller, but not both at the same time.
Required parameters (int version):
value = int_expr (int)
int_expr is evaluated once to give the value that is assigned to all int variables in the range.
Required parameters (float version):
fvalue = float_expr (float)
float_expr is evaluated once to give the value that is assigned to all float variables in the range.
Optional parameters (both versions):
first = first_idx (int)
Specifies the lower end of the range of variables to set. Defaults to 0 (first variable).
last = last_idx (int)
Specifies the higher end of the range of variables to set. Defaults to 59 for int variables, or 39 for float variables (this is the last available variable in both cases).
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.
type = VarRangeSet
trigger1 = MoveHit
value = 1
first = 18
last = 21
ignorehitpause = 1
Var and FVar (Triggers)
IntPersistIndex & FloatPersistIndex - Player Variables (CNS)