GetItemCharges

From NWN Lexicon



Contents

[edit] GetItemCharges(object)

Retrieves the number of charges remaining on a given item.

int GetItemCharges(
    object oItem
);

[edit] Parameters

oItem

Object to query the number of charges remaining of.


[edit] Description

Returns the number of charges remaning on a given item. Returns 0 if the item is not an item, an invalid object, or has no charges.



[edit] Version

1.30

[edit] See Also



 author: Charles Feduke, editor: Lilac Soul
 

Personal tools
Categories