GetBaseItemType(object)

Determines the basic template for the item specified.

int GetBaseItemType(
    object oItem
);

Parameters

oItem

Item to be analyzed.


Description

Get the base item type (BASE_ITEM_*) of oItem.
Returns BASE_ITEM_INVALID if oItem is an invalid item.



Version

1.22

See Also

functions: CreateItemOnObject | GetItemActivated | GetItemACValue | GetItemHasItemProperty | GetItemInSlot | GetLastWeaponUsed
categories: Get Data from Object Functions
constants: BASE_ITEM_* Constants
events: OnAcquireItem Event | OnActivateItem Event | OnUnAcquireItem Event


 author: Jody Fletcher
 Send comments on this topic.