IPGetHasUseLimitation
From NWN Lexicon
Jump to navigationJump to search
IPGetHasUseLimitation(object)
Returns whether an item has any usage limitations.
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
author: Lilac Soul