HasItem(object, string)
Determines if a creature possesses an item.
int HasItem( object oCreature, string sTag );
Parameters
oCreature
The creature to check if they possess an item.
sTag
The item's tag to search for.
Description
Returns TRUE if oCreature possesses an item with the tag sTag, otherwise returns FALSE.
Remarks
This is simply a wrapper for GetItemPossessedBy().
Requirements
#include "nw_i0_plot"
Version
1.22
See Also
functions: | GetItemPossessedBy |
categories: | Inventory Functions |
author: Tom Cassiotis
Send comments on this topic.