Difference between revisions of "Osiris/API/SetVisible"

From Divinity Engine Wiki
Jump to: navigation, search
m
Line 5: Line 5:
 
===== 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.
* Characters who are made invisible in this way have their AI and physics objects disabled, which means characters will walk through them and they won't occupy space on the AI grid.
+
* Characters who are made invisible in this way have their physics disabled. They still occupy room on the AI-grid though, and can still be hit via e.g. area-of-effect skills and surfaces.
 
===== See Also =====
 
===== See Also =====
* * [[Osiris/API/SetOnStage|SetOnStage]]
+
* [[Osiris/API/SetOnStage|SetOnStage]]
 
    
 
    
 
[[Category:Osiris Calls]]
 
[[Category:Osiris Calls]]

Revision as of 14:30, 23 November 2017

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

Makes the _Object invisible.

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. They still occupy room on the AI-grid though, and can still be hit via e.g. area-of-effect skills and surfaces.
See Also