SetExplosionTraitForm

From GECK
Jump to: navigation, search


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
5	Enchantment
6	IS Mod

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