IPGetHasUseLimitation
From NWN Lexicon
Contents |
[edit] IPGetHasUseLimitation(object)
Returns whether an item has any usage limitations.
int IPGetHasUseLimitation( object oItem );
[edit] Parameters
oItem
Item to check for usage limitations.
[edit] Description
Returns TRUE if a use limitation of any kind is present on oItem.
[edit] 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.
[edit] Requirements
#include " x2_inc_itemprop "
[edit] Version
1.61
[edit] See Also
author: Lilac Soul