Difference between revisions of "Osiris/API/SetVisible"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
 
* call '''SetVisible'''(''(GUIDSTRING)'''''_Object''', ''(INTEGER)'''''_Bool''')
 
* call '''SetVisible'''(''(GUIDSTRING)'''''_Object''', ''(INTEGER)'''''_Bool''')
 
===== Description =====
 
===== Description =====
Makes the _Object invisible.
+
Makes '''_Object''' invisible if '''_Bool''' is '''0''', or visible if it is '''1'''. '''_Object''' can be a character or an item.
 
===== Notes =====
 
===== Notes =====
 
* This is not the same as applying the INVISIBLE status. The character isn't visible, but gets no specific status. Story simply hides them.
 
* This is not the same as applying the INVISIBLE status. The character isn't visible, but gets no specific status. Story simply hides them.

Revision as of 15:08, 25 November 2017

Full Definition(s)
  • call SetVisible((GUIDSTRING)_Object, (INTEGER)_Bool)
Description

Makes _Object invisible if _Bool is 0, or visible if it is 1. _Object can be a character or an item.

Notes
  • This is not the same as applying the INVISIBLE status. The character isn't visible, but gets no specific status. Story simply hides them.
  • Characters who are made invisible in this way have their physics disabled (i.e., they will not block arrow shots nor sight). They still occupy room on the AI-grid though, and can still be hit with area-of-effect skills and surfaces.
See Also