Osiris/API/SetOnStage

From Divinity Engine Wiki
Revision as of 08:24, 20 September 2017 by Tinkerer (talk | contribs) (SetOnStage documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call SetOnStage((GUIDSTRING)_Object, (INTEGER)_OnStage)
Description

Depending on whether _OnStage is 0 or 1, sets _Object either off-stage or on-stage. Object can be a character or an item.

By default, all objects are on stage. When an object is set off-stage,

  • it becomes inactive: none of its behaviour scripts will run;
  • it becomes invisible and cannot be interacted with by anything or anyone.
Notes
  • /
See Also