Difference between revisions of "GetExplosionTraitNumeric"
Jump to navigation
Jump to search
imported>Jazzisparis |
imported>Jazzisparis |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = JIP | |origin = JIP | ||
|summary = Returns the value of | |summary = Returns the value of a numeric trait (determined by <i>traitID</i>) of the specified '''Explosion'''. | ||
|name = GetExplosionTraitNumeric | |name = GetExplosionTraitNumeric | ||
|returnType = traitValue:float | |returnType = traitValue:float | ||
Line 11: | Line 11: | ||
|Name = traitID | |Name = traitID | ||
|Type = int | |Type = int | ||
|Value = 0- | |Value = 0-7 | ||
}} | }} | ||
==Explosion Numeric Trait IDs== | ==Explosion Numeric Trait IDs== | ||
Line 20: | Line 20: | ||
4	RAD Level | 4	RAD Level | ||
5	RAD Dissipation Time | 5	RAD Dissipation Time | ||
6	RAD Radius</pre> | 6	RAD Radius | ||
|example = GetExplosionTraitNumeric 40mmGrenadeExplosion 2 | 7	Sound Level</pre> | ||
|example = set fValue to GetExplosionTraitNumeric 40mmGrenadeExplosion 2 | |||
Will return the <i>Radius</i> of <i>40mmGrenadeExplosion</i>. | Will return the <i>Radius</i> of <i>40mmGrenadeExplosion</i>. | ||
}} | }} |
Latest revision as of 08:04, 1 June 2016
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns the value of a numeric trait (determined by traitID) of the specified Explosion.
Syntax
(traitValue:float) GetExplosionTraitNumeric explosion:ref traitID:int{0-7}
Explosion Numeric Trait IDs
0 Force 1 Damage 2 Radius 3 IS Radius 4 RAD Level 5 RAD Dissipation Time 6 RAD Radius 7 Sound Level
Example
set fValue to GetExplosionTraitNumeric 40mmGrenadeExplosion 2
Will return the Radius of 40mmGrenadeExplosion.