IPGetIsIntelligentWeapon
From NWN Lexicon
Jump to navigationJump to search
IPGetIsIntelligentWeapon(object)
Returns whether an item has the intelligent itemproperty.
int IPGetIsIntelligentWeapon(
object oItem
);
Parameters
oItem
Weapon to check for intelligence.
Description
Returns TRUE if the item has the OnHit:IntelligentWeapon property.
Remarks
A wrapper to check for the intelligent weapon type and subtype.
Requirements
#include " x2_inc_itemprop "
Version
1.61
See Also
author: Lilac Soul, editor: Mistress, contributor: Kolyana