GetProjectileTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the value of a projectile's numeric trait (determined by traitID).

Syntax

[help]
(traitValue:float) GetProjectileTraitNumeric projectile:ref traitID:int{0-14}

Projectile Numeric Trait IDs

0	Projectile Type
1	Gravity
2	Speed
3	Range
4	Tracer Chance
5	Proximity (Explosion)
6	Timer (Explosion)
7	Muzzle Flash Duration
8	Fade Duration
9	Impact Force
10	Rotation X
11	Rotation Y
12	Rotation Z
13	Bouncy Mult.
14	Detection Sound Level

Projectile Types:

1	Missile
2	Lobber
4	Beam
8	Flame
16	Continuous Beam

Detection Sound Levels:

0	Loud
1	Normal
2	Silent

Example

GetProjectileTraitNumeric 12GaSlugProjectile 3

Will return the Range of 12GaSlugProjectile.

See Also