IsMisc

From NWN Lexicon



Contents

[edit] IsMisc(object)

Returns true if the basetype of the item is one of the misc. types of basetype.

int IsMisc(
    object oItem
);

[edit] Parameters

oItem

The item to check for basetype.


[edit] Description

If the basetype of oItem is BASE_ITEM_GEM, BASE_ITEM_MISCLARGE, BASE_ITEM_MISCMEDIUM, BASE_ITEM_MISCTALL, BASE_ITEM_MISCSMALL, or BASE_ITEM_MISCTHIN, this function returns TRUE. For other basetypes, or on error, it returns FALSE.



[edit] Remarks

Found in nw_o0_itemmaker.nss on line 120


[edit] Requirements

#include " nw_o0_itemmaker "

[edit] Version

1.28

[edit] See Also

constants: 

BASE_ITEM_* Constants



 author: Lilac Soul, additional contributor(s): Lilac Soul
 

Personal tools
Categories