IPGetHasUseLimitation(object)
Returns whether an item has any usage limitations.
int IPGetHasUseLimitation( object oItem );
Parameters
oItem
Item to check for usage limitations.
Description
Returns TRUE if a use limitation of any kind is present on oItem.
Remarks
Checks if one of the four usage limitations itemproperties is present on the item:
Alignmentgroup
Racialtype
Class
Specific alignment
Returns FALSE on error, and if the item has no usage limitations.
Note, ItemRestriction based on hitdice will still apply if enabled.
Requirements
#include "x2_inc_itemprop"
Version
1.61
See Also
categories: | Get Data from Object Functions | Item Properties Functions |
author: Lilac Soul