Difference between revisions of "0006"
Jump to navigation
Jump to search
(New page: {{OpCode | ini = 0006=2,%1d% %2d% | description = Sets the value of a local variable to a specified integer | p1 = Local variable | p2 = Integer value | game ...) |
|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Icon|trilogy}} '''SET_LVAR_INT''' |
| − | + | <hr /> | |
| − | + | '''Description''' | |
| − | + | : Sets the value of a local variable to a specified integer. | |
| − | + | '''Syntax''' | |
| − | + | : 0006: [''local var''] = [''int''] | |
| − | + | : [''local var''] = [''int''] | |
| + | '''Parameter''' | ||
| + | : [''local var''] | ||
| + | :: Local variable | ||
| + | : [''int''] | ||
| + | :: Integer value | ||
| + | |||
This opcode sets the value of a local variable to a specified integer. | This opcode sets the value of a local variable to a specified integer. | ||
| − | [[Category: | + | |
| + | == Keywords == | ||
| + | set, local, integer, variable, [[math]] | ||
| + | |||
| + | == See also == | ||
| + | * [[0004]] – sets int value of global var | ||
| + | * [[0005]] – sets flt value of global var | ||
| + | * [[0007]] – sets flt value of local var | ||
| + | |||
| + | [[Category:OpCodes]][[Category:Math OpCodes]] | ||
Latest revision as of 21:57, 5 February 2015
Description
- Sets the value of a local variable to a specified integer.
Syntax
- 0006: [local var] = [int]
- [local var] = [int]
Parameter
- [local var]
- Local variable
- [int]
- Integer value
This opcode sets the value of a local variable to a specified integer.
Keywords
set, local, integer, variable, math