DoGrenade

From NWN Lexicon


Contents

[edit] DoGrenade(int, int, int, int, int, float, int, int)

Does a damage type grenade (direct or splash on miss).

void DoGrenade(
    int nDirectDamage,
    int nSplashDamage,
    int vSmallHit,
    int vRingHit,
    int nDamageType,
    float fExplosionRadius,
    int nObjectFilter,                    
    RACIAL_TYPE_ALL
);

[edit] Parameters

nDirectDamage

The amount of damage done on a successful ranged touch attack.

nSplashDamage

The amount of splash damage done to objects within a sphere of fExplosionRadius.

vSmallHit

Visual effect used on each target when applying the splash damage.

vRingHit

Visual effect used on the area when applying the splash damage.

nDamageType

DAMAGE_TYPE_*

fExplosionRadius

Size of the sphere used to apply the splash damage.

nObjectFilter

Restrict the damage to a specific OBJECT_TYPE_* .

nRacialType

RACIAL_TYPE_* (Default: RACIAL_TYPE_ALL)


[edit] Description

Does a damage type grenade (direct or splash on miss).



[edit] Requirements

#include " x0_i0_spells "


[edit] Version

???

[edit] See Also

constants: 

RACIAL_TYPE_*



author: Mistress

Personal tools
Categories