Difference between revisions of "0827"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0827=2,%1d% %2d%
+
| games      = {{Icon|SA}}
| description = Assigns an object to an [[LOD]] object
+
| command    = CONNECT_LODS
| p1          = valid object [[DFF]] model name or ID number as defined in the [[IDE]] file
+
| description = Connects the object to the [[LOD]] object
| p2          = valid object DFF model name or ID number as defined in the IDE file
+
| syntax1    = 0827: assign_object [''object handle1''] to_lod_object [''object handle2'']
| game        = [[San Andreas]]
+
| 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. 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==
+
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.
assign, set, object, LOD
+
 
 +
== Keywords ==
 +
assign, connect, set, object, LOD, LODs

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