Jump to content

Reference a projectile to track its position


senterpat

Recommended Posts

Maybe you can use Spawnable Triggerboxes: https://www.nexusmods.com/skyrim/mods/61245/

 

When casting the spell, spawn or move a triggerbox to the caster. Have a script on the box that's something like:

 

Scriptname TM_ObjectRefScript extends ObjectReference

Projectile Property MyProjectile Auto

Event OnTriggerLeave(ObjectReference akActionRef)
    Form Base = akActionRef.GetBaseObject() 
    If Base as Projectile 
        If Base == MyProjectile 
            ;Do something with akActionRef, it's the projectile we're looking for. 
        Endif 
    Endif 
EndEvent
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...