Osiris/API/ObjectGetFlag

From Divinity Engine Wiki
Revision as of 08:01, 17 July 2019 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query ObjectGetFlag([in](GUIDSTRING)_Target, [in](STRING)_Flag, [out](INTEGER)_FlagState)
Description

Returns whether the flag _Flag is currently set on _Target (a character or an item).

Return Values
  • Success/Failure: Fails if _Target is not a character or an item.
  • _FlagState: 0 if the flag is not set, 1 if it is set.
Notes
  • /
See Also