Difference between revisions of "0566"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 0566=2, %1d% %2d% | description = Links an object to the specified interior. | p1 = Object Handle | p2 = Interior Handle | game …')
 
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|VC}} {{Icon|SA}} '''SET_OBJECT_AREA_VISIBLE'''
| ini        = 0566=2, %1d%  %2d%
+
<hr />
| description = Links an object to the specified interior.
+
'''Description'''
| p1          = Object Handle
+
: Sets the visibility of an object to the specified interior
| p2          = Interior Handle
+
'''Syntax'''
| game        = [[Vice City]], [[San Andreas]]
+
: 0566: object [''object handle''] set_interior ]''int'']
}}
+
: 0566: link_object [''object handle''] to_interior ]''int'']
 +
'''Parameter'''
 +
: [''object handle'']
 +
:: The handle of the object
 +
: [''int'']
 +
:: [[Interior]] number
  
This opcode links an object to the specified interior.
+
This opcode sets the visibility of an object to the specified interior.
  
==Sanny Builder Example==
+
== Keywords ==
<source lang="scm">0566: link_object $2703 to_interior 1</source>
+
set, interior, link, object, visibility, visible
  
==Keywords==
+
[[Category:OpCodes]]
interior, link, object
 

Revision as of 07:14, 8 January 2015

Vice City San Andreas SET_OBJECT_AREA_VISIBLE


Description

Sets the visibility of an object to the specified interior

Syntax

0566: object [object handle] set_interior ]int]
0566: link_object [object handle] to_interior ]int]

Parameter

[object handle]
The handle of the object
[int]
Interior number

This opcode sets the visibility of an object to the specified interior.

Keywords

set, interior, link, object, visibility, visible