Difference between revisions of "0566"
Jump to navigation
Jump to search
(page updates) |
(interior 13) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon|VC}} {{Icon|SA}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} {{Icon|SA}} | |
− | + | | 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 == | == Keywords == | ||
− | set, interior, link, object, visibility, visible | + | set, interior, link, object, visibility, visible, area |
− | |||
− |
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