GetItemPossessedBy(object, string)

Get an item with a specific tag in a given creature's inventory.

object GetItemPossessedBy(
    object oCreature,
    string sItemTag
);

Parameters

oCreature

Target creature.

sItemTag

Tag of item to be retrieved.


Description

Returns the item possessed by oCreature with the tag sItemTag.
Returns OBJECT_INVALID if oCreature is invalid or does not possess the specified item.



Version

1.22

See Also

functions: GetHas2Q4PlotItem | HasItem
categories: Inventory Functions


 author: Jason Harris, editor: Kristian Markon
 Send comments on this topic.