IPGetIsProjectile

From NWN Lexicon



Contents

[edit] IPGetIsProjectile(object)

Checks if an item is a projectile.

int IPGetIsProjectile(
    object oItem
);

[edit] Parameters

oItem

Object to check whether is a projectile.


[edit] Description

Return TRUE if oItem is a projectile (bolt, arrow, etc).



[edit] Remarks

Only returns true for arrows, bolts, and bullets. Grenadetype weapons, darts, throwing axes all cause this function to return FALSE.


[edit] Requirements

#include " x2_inc_itemprop "

[edit] Version

1.61

[edit] See Also

functions: 

IPGetIsRangedWeapon



 author: Lilac Soul
 

Personal tools
Categories