GetProjectileRefImpactRef

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

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

[help]
(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.

See Also