GetSoundTraitNumeric

< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

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

Syntax

(traitValue:float) GetSoundTraitNumeric sound:ref traitID:int{0-12}

Sound Numeric Trait IDs

0	Min. Attenuation Distance
1	Max. Attenuation Distance
2	Frequency Adjustment
3	Static Attenuation
4	Ends At (Minutes)
5	Starts At (Minutes)
6	Attenuation Curve 1
7	Attenuation Curve 2
8	Attenuation Curve 3
9	Attenuation Curve 4
10	Attenuation Curve 5
11	Reverb Attenuation Control
12	Priority

Example

GetSoundTraitNumeric EMTMedicalBeep01 3

Will return the Static Attenuation of EMTMedicalBeep01.

See Also