Difference between revisions of "0827"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<code>0827=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Assigns an object to an [[LOD]] object<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Object ID<br>
+
| command    = CONNECT_LODS
'''Parameter 2''': LOD ID<br>
+
| description = Connects the object to the [[LOD]] object
'''Supports''': San Andreas<br>
+
| syntax1    = 0827: assign_object [''object handle1''] to_lod_object [''object handle2'']
 +
| p1t        = [''object handle1'']
 +
| p1d        = The handle of the object
 +
| p2t        = [''object handle2'']
 +
| p2d        = The handle of the LOD object
 +
}}
  
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.
+
Objects created by the script (e.g. [[0107]]) do not have an LOD associated to it, even if the object was assigned an LOD in the [[IPL]] file. This opcode connects the object to the LOD object. The object is normally the one seen up close and its LOD is normally the one seen far away.
  
==Keywords==
+
== Keywords ==
assign, object, LOD
+
assign, connect, set, object, LOD, LODs
 
 
[[Category:OpCodes]]
 

Latest revision as of 04:09, 4 December 2016

San Andreas CONNECT_LODS


Description
Connects the object to the LOD object
Syntax
0827: assign_object [object handle1] to_lod_object [object handle2]
Parameter
[object handle1]
The handle of the object
[object handle2]
The handle of the LOD object

Objects created by the script (e.g. 0107) do not have an LOD associated to it, even if the object was assigned an LOD in the IPL file. This opcode connects the object to the LOD object. The object is normally the one seen up close and its LOD is normally the one seen far away.

Keywords

assign, connect, set, object, LOD, LODs