GetItemHasItemProperty

From NWN Lexicon
Jump to navigationJump to search



GetItemHasItemProperty(object, int)

Check whether an item has a given property.

int GetItemHasItemProperty(
    object oItem,
    int nProperty
);

Parameters

oItem

Item to be checked.

nProperty

ITEM_PROPERTY_*


Description

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



Version

1.22

See Also

functions: 

IPGetItemHasProperty

constants: 

ITEM_PROPERTY_* Constants



 author: Jason Harris, editor: Kristian Markon