SysFVar
From M.U.G.E.N Wiki
Trigger: SysFVar
This trigger takes a mandatory variable number as an argument. It returns the value of the player's specified system float variable. This trigger should NOT be used under normal circumstances. System variables are reserved for bookkeeping in common1.cns.
- Format:
- FVar(exprn)
- Arguments:
- exprn
- An expression evaluating to a variable number. Valid numbers at this time are 0-4.
- Return type:
- float
- Error conditions:
- Returns SFalse if exprn evaluates to SFalse, or if exprn evaluates to an invalid variable index.
Example:
trigger1 = SysFVar(0) = -1.23 Triggers if the value of system float variable 0 is -1.23.