From NWN Lexicon
Jump to navigationJump to search
Revision as of 07:46, 21 December 2017 by 22.214.171.124 (talk) (Undo revision 52581 by 126.96.36.199 (talk))
Get an item with a specific tag in a given creature or placeable's inventory.
Target creature or placeable.
Tag of item to be retrieved.
Returns the item possessed by oCreature with the tag sItemTag.
Returns OBJECT_INVALID if oCreature is invalid or does not possess the specified item.
In testing it appears to check inventory first and then equipped slots, returning whatever it finds first.
Tested in version 1.61, this function returned OBJECT_INVALID when used with stores, even if the store had an item with the provided tag.
author: Jason Harris, editor: Lilac Soul, additional contributor(s): Blackrazor, Lilac Soul