Difference between revisions of "0566"
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 …') |
(interior 13) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|VC}} {{Icon|SA}} |
− | | description = | + | | command = SET_OBJECT_AREA_VISIBLE |
− | | | + | | description = Sets the visibility of the object to the specified [[interior]] |
− | | | + | | syntax1 = 0566: object [''object handle''] set_interior [''int''] |
− | | | + | | syntax2 = 0566: link_object [''object handle''] to_interior [''int''] |
+ | | p1t = [''object handle''] | ||
+ | | p1d = The handle of the object | ||
+ | | p2t = [''int''] | ||
+ | | p2d = Interior number (default 13) | ||
}} | }} | ||
− | This opcode | + | By default, objects created through [[0107]] or [[029B]] has their interior number set to 13, allowing it to be visible regardless of the [[04BB|current interior]]. This opcode allows you to change the object's interior number, allowing it to be visible in the specified interior. |
− | + | == Keywords == | |
− | + | set, interior, link, object, visibility, visible, area | |
− | |||
− | ==Keywords== | ||
− | interior, link, object |
Latest revision as of 07:19, 21 August 2016
- Description
- Sets the visibility of the 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 (default 13)
By default, objects created through 0107 or 029B has their interior number set to 13, allowing it to be visible regardless of the current interior. This opcode allows you to change the object's interior number, allowing it to be visible in the specified interior.
Keywords
set, interior, link, object, visibility, visible, area