Difference between revisions of "000D"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 000D=2,%1d% -= %2d% | description = Deducts an integer value from a global variable. | p1 = global variable | p2 = a floating point …')
 
(Sanny Builder Example)
Line 10: Line 10:
 
==Sanny Builder Example==
 
==Sanny Builder Example==
  
<source lang="scm">000C: $1020 -= 1</source>
+
<source lang="scm">000D: $TEMPVAR_Z_COORD -= 0.5</source>
  
 
==Keywords==
 
==Keywords==

Revision as of 16:07, 9 October 2010

{{{games}}}


Description
Deducts an integer value from a global variable.
Syntax
{{{syntax1}}}
Parameter

This opcode deducts a floating point value from the value of a specific global variable.

Sanny Builder Example

000D: $TEMPVAR_Z_COORD -= 0.5

Keywords

global, variable, floating point value, deduct