Difference between revisions of "Osiris/API/ObjectGetFlag"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented ObjectGetFlag)
(No difference)

Revision as of 09:00, 17 July 2019

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