IsMisc(object)

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

int IsMisc(
    object oItem
);

Parameters

oItem

The item to check for basetype.


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.



Remarks

Found in nw_o0_itemmaker.nss on line 120


Requirements

#include "nw_o0_itemmaker"

Version

1.28

See Also

categories: Get Data from Object Functions
constants: BASE_ITEM_* Constants


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