GetProjectileRefDamage
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns the base damage that will be inflicted by the calling live-projectile, upon impact. By default, this equals the base damage of the source weapon.
Syntax
(damage:float) reference.GetProjectileRefDamage
Example
set fDamage to liveProjRef.GetProjectileRefDamage
Finding Live-Projectile References
The only way to get a live-projectile reference is by "ref-walking" - that is, walking through projectile references using the GetFirstRef and GetNextRef functions.
Example:
set rProj to GetFirstRef 51 3 while rProj ; Do something set rProj to GetNextRef loop