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

categories: Get Data from Object Functions | Item Properties Functions


 author: Lilac Soul, editor: Mistress, contributor: Kolyana