Difference between revisions of "Osiris/API/ItemIsContainer"
From Divinity Engine Wiki
(Documented ItemIsContainer) |
m |
||
Line 4: | Line 4: | ||
Returns whether '''_Item''' is in a container. An item is considered a container if it has an [[Use_Action:Open/Close|open/close use action]]. | Returns whether '''_Item''' is in a container. An item is considered a container if it has an [[Use_Action:Open/Close|open/close use action]]. | ||
===== Return Values ===== | ===== Return Values ===== | ||
− | * Success/Failure''': | + | * '''Success/Failure''': Default return value. |
* '''_IsContainer''': '''0''' if '''_Item''' is not a container, '''1''' otherwise. | * '''_IsContainer''': '''0''' if '''_Item''' is not a container, '''1''' otherwise. | ||
===== Notes ===== | ===== Notes ===== |
Latest revision as of 15:03, 24 March 2019
Full Definition(s)
- query ItemIsContainer([in](ITEMGUID)_Item, [out](INTEGER)_IsContainer)
Description
Returns whether _Item is in a container. An item is considered a container if it has an open/close use action.
Return Values
- Success/Failure: Default return value.
- _IsContainer: 0 if _Item is not a container, 1 otherwise.
Notes
- /
See Also
- /