SetImpactDataTraitForm

From the Fallout3 GECK Wiki
Revision as of 05:52, 1 June 2016 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets a trait value (determined by <i>traitID</i>) of the specified '''Impact Data'''. |name = SetImpactDataTraitForm |returnType = trai...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Sets a trait value (determined by traitID) of the specified Impact Data.

Syntax

[help]
(traitValue:ref) SetImpactDataTraitForm impactData:ref traitID:int{0-2} newValue:ref

Impact Data Form Trait IDs

0	Texture Set
1	Sound 1
2	Sound 2

Example

SetImpactDataTraitForm DeathClawsFleshImpact 0 DecalOrganicBallistic

Will set the Texture Set of DeathClawsFleshImpact to DecalOrganicBallistic.

See Also