Difference between revisions of "Osiris/API/ObjectGetFlag"
From Divinity Engine Wiki
(Documented ObjectGetFlag) |
m |
||
Line 9: | Line 9: | ||
* / | * / | ||
===== See Also ===== | ===== See Also ===== | ||
+ | * [[Osiris/API/GlobalGetFlag|GlobalGetFlag]] | ||
* [[Osiris/API/ObjectClearFlag|ObjectClearFlag]] | * [[Osiris/API/ObjectClearFlag|ObjectClearFlag]] | ||
* [[Osiris/API/ObjectFlagCleared|ObjectFlagCleared]] | * [[Osiris/API/ObjectFlagCleared|ObjectFlagCleared]] |
Latest revision as of 08:01, 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
- /