GetItemHasItemProperty

From NWN Lexicon



Contents

[edit] GetItemHasItemProperty(object, int)

Check whether an item has a given property.

int GetItemHasItemProperty(
    object oItem,
    int nProperty
);

[edit] Parameters

oItem

Item to be checked.

nProperty

ITEM_PROPERTY_*


[edit] Description

Returns TRUE if oItem has nProperty.
Returns FALSE if oItem is not a valid item, or if oItem does not have nProperty.



[edit] Version

1.22

[edit] See Also

functions: 

IPGetItemHasProperty

constants: 

ITEM_PROPERTY_* Constants



 author: Jason Harris, editor: Kristian Markon
 

Personal tools
Categories