Difference between revisions of "GetProjectileTraitNumeric"
Jump to navigation
Jump to search
imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the value of a projectile's numeric trait (determined by <i>traitID</i>). |name = GetProjectileTraitNumeric |returnType = trait...") |
imported>Jazzisparis |
||
(One intermediate revision by the same user not shown) | |||
Line 43: | Line 43: | ||
}} | }} | ||
==See Also== | ==See Also== | ||
*[[SetProjectileTraitNumeric]] | |||
*[[GetProjectileFlag]] | |||
*[[SetProjectileFlag]] | |||
*[[GetProjectileExplosion]] | |||
*[[SetProjectileExplosion]] | |||
[[Category:Functions_(JIP)]] | [[Category:Functions_(JIP)]] | ||
[[Category:Projectile Functions (JIP)]] |
Latest revision as of 14:38, 30 March 2015
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns the value of a projectile's numeric trait (determined by traitID).
Syntax
(traitValue:float) GetProjectileTraitNumeric projectile:ref traitID:int{0-14}
Projectile Numeric Trait IDs
0 Projectile Type 1 Gravity 2 Speed 3 Range 4 Tracer Chance 5 Proximity (Explosion) 6 Timer (Explosion) 7 Muzzle Flash Duration 8 Fade Duration 9 Impact Force 10 Rotation X 11 Rotation Y 12 Rotation Z 13 Bouncy Mult. 14 Detection Sound Level
Projectile Types:
1 Missile 2 Lobber 4 Beam 8 Flame 16 Continuous Beam
Detection Sound Levels:
0 Loud 1 Normal 2 Silent
Example
GetProjectileTraitNumeric 12GaSlugProjectile 3
Will return the Range of 12GaSlugProjectile.