SetProjectileTraitNumeric

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

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

Syntax

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

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

SetProjectileTraitNumeric 12GaSlugProjectile 0 4

Will set the Projectile Type of 12GaSlugProjectile to Beam.

See Also