Difference between revisions of "0827"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<code>0827=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Assigns an object to an [[LOD]] object<br>
+
| ini        = 0827=2,%1d% %2d%
'''Parameter 1''': Object ID<br>
+
| description = Assigns an object to an [[LOD]] object
'''Parameter 2''': LOD ID<br>
+
| p1          = valid object [[DFF]] model name or ID number as defined in the [[IDE]] file
'''Supports''': San Andreas<br>
+
| p2          = valid object DFF model name or ID number as defined in the IDE file
 
+
| game        = [[San Andreas]]
This opcode assigns an an object created by the script to an LOD object. Normally an object created by the script does not have an LOD form to it, even if the object was assigned an LOD in the [[IPL]] file. There is no known opcode that can undo this opcode.
+
}}
 +
This opcode assigns an an object created by the script to an LOD object. The object in the first parameter is the object normally seen up close. The object in the second parameter is the LOD form of the normal object. Normally an object created by the script does not have an LOD associated to it, even if the object was assigned an LOD in the [[IPL]] file.
  
 
==Keywords==
 
==Keywords==
assign, object, LOD
+
assign, set, object, LOD
 
 
[[Category:OpCodes]]
 

Revision as of 10:21, 17 December 2009

{{{games}}}


Description
Assigns an object to an LOD object
Syntax
{{{syntax1}}}
Parameter

This opcode assigns an an object created by the script to an LOD object. The object in the first parameter is the object normally seen up close. The object in the second parameter is the LOD form of the normal object. Normally an object created by the script does not have an LOD associated to it, even if the object was assigned an LOD in the IPL file.

Keywords

assign, set, object, LOD