SysVar/ja
From M.U.G.E.N Wiki
< SysVar
This page is in progress of being translated to ja. You can help translating it or go to another language version that follows:
Trigger: SysVar
This trigger takes a mandatory variable number as an argument. It returns the value of the player's specified system int variable. This trigger is NOT to be used under normal circumstances. System variables are reserved for bookkeeping in common1.cns.
- Format:
- Var(exprn)
- Arguments:
- exprn
- An expression evaluating to a variable number. Valid numbers at this time are 0-4.
- Return type:
- int
- Error conditions:
- Returns SFalse if exprn evaluates to SFalse, or if exprn evaluates to an invalid variable index.
Example:
trigger1 = SysVar(0) = -34 Triggers if the value of system variable 0 is -34.