Difference between revisions of "0860"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
<code>0860=2,%1d% %2h%</code><br>
+
{{OpCode
'''Description''': Links an actor to an interior<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Actor handle<br>
+
| command    = SET_CHAR_AREA_VISIBLE
'''Parameter 2''': [[Interior]] number<br>
+
| description = Sets the [[interior]] of the character
'''Supports''': San Andreas<br>
+
| syntax1    = 0860: link_actor [''char handle''] to_interior [''int'']
 +
| p1t        = [''char handle'']
 +
| p1d        = The handle of the character
 +
| p2t        = [''int'']
 +
| p2d        = [[Interior#San Andreas|Interior number]]
 +
}}
  
This opcode links the actor to an interior. This is required when creating an actor inside an interior or moving an actor to different interior numbers or else the actor will become non-solid.
+
This opcode sets the interior of the character. This is required when creating the character inside an interior or moving the character to another interior with a different number or else the character will become non-solid.
  
==Keywords==
+
== Keywords ==
link, actor, interior
+
set, link, actor, character, interior, area, visible
 
 
[[Category:OpCodes]]
 

Latest revision as of 23:34, 18 June 2016

San Andreas SET_CHAR_AREA_VISIBLE


Description
Sets the interior of the character
Syntax
0860: link_actor [char handle] to_interior [int]
Parameter
[char handle]
The handle of the character
[int]
Interior number

This opcode sets the interior of the character. This is required when creating the character inside an interior or moving the character to another interior with a different number or else the character will become non-solid.

Keywords

set, link, actor, character, interior, area, visible