Osiris/API/ItemSetOnlyOwnerCanUse: Difference between revisions
Jump to navigation
Jump to search
(Created page with "===== Full Definition(s) ===== * call '''ItemSetOnlyOwnerCanUse'''(''(ITEMGUID)'''''_Item''', ''(INTEGER)'''''_bool''') ===== Description ===== If '''_bool''' is '''1''', the...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
* call '''ItemSetOnlyOwnerCanUse'''(''(ITEMGUID)'''''_Item''', ''(INTEGER)'''''_bool''') | * call '''ItemSetOnlyOwnerCanUse'''(''(ITEMGUID)'''''_Item''', ''(INTEGER)'''''_bool''') | ||
===== Description ===== | ===== Description ===== | ||
If '''_bool''' is '''1''', the item can only be used by its owner after this call. Otherwise, it can be used by anyone. | If '''_bool''' is '''1''', the item can only be used by its owner after this call. Otherwise, it can be used by anyone. The Owner of an item is the last character to have it in their inventory. | ||
===== See Also ===== | ===== See Also ===== | ||
[[Osiris/API/CharacterUsedItemFailed|CharacterUsedItemFailed]] | *[[Osiris/API/CharacterUsedItemFailed|CharacterUsedItemFailed]] | ||
[[Osiris/API/ItemSetOwner|ItemSetOwner]] | *[[Osiris/API/ItemSetOwner|ItemSetOwner]] | ||
*[[Osiris/API/ItemSetOriginalOwner|ItemSetOriginalOwner]] | |||
[[Category:Osiris Calls|ItemSetOnlyOwnerCanUse]] |
Latest revision as of 14:36, 19 December 2017
Full Definition(s)
- call ItemSetOnlyOwnerCanUse((ITEMGUID)_Item, (INTEGER)_bool)
Description
If _bool is 1, the item can only be used by its owner after this call. Otherwise, it can be used by anyone. The Owner of an item is the last character to have it in their inventory.