IPGetIsProjectile(object)

Checks if an item is a projectile.

int IPGetIsProjectile(
    object oItem
);

Parameters

oItem

Object to check whether is a projectile.


Description

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



Remarks

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


Requirements

#include "x2_inc_itemprop"

Version

1.61

See Also

functions: IPGetIsBludgeoningWeapon | IPGetIsMeleeWeapon | IPGetIsRangedWeapon
categories: Get Data from Object Functions | Item Properties Functions


 author: Lilac Soul