GetProjectileRefImpactRef
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Returns the object reference (if any) that was hit by the calling live-projectile.
- This function is designed to be used in a OnProjectileImpact event-handler script, otherwise it is unreliable.
Syntax
(impactObj:ref) reference.GetProjectileRefImpactRef
Example
set rImpactRef to projectileRef.GetProjectileRefImpactRef
Notes
- Before using the result from this function, make sure to verify that it passed a valid reference by using IsReference.