SetExplosionTraitForm

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 an explosion's form-type trait (determined by traitID).

Syntax

[help]
(traitForm:ref) SetExplosionTraitForm explosion:ref traitID:int{0-4} newForm:ref

Explosion Form Trait IDs

0	Light
1	Sound #1
2	Sound #2
3	Impact Data Set
4	Placed Impact Object

Example

SetExplosionTraitForm 40mmGrenadeExplosion 4 Baseball01

Will set the Placed Impact Object of 40mmGrenadeExplosion to Baseball01.

SetExplosionTraitForm 40mmGrenadeExplosion 1

Will set the Sound #1 of 40mmGrenadeExplosion to None.

See Also