Jump to content

How to add dismiss & follow me functionality via magic effect


Recommended Posts

I assume you have script's already attached to the spell's magic effects for teleporting. You can add this to your scripts:

 

DialogueFollowerScript Property DialogueFollower Auto 
Actor Property MyFollower Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
    DialogueFollower.DismissFollower(0, 0) 
EndEvent

Event OnEffectStart(Actor akTarget, Actor akCaster)
    DialogueFollower.SetFollower(MyFollower as ObjectReference)
EndEvent

When filling the property, choose the DialogueFollower Quest and the DialogueFollowerScript. This is for setting and dismissing followers in the vanilla way.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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