Jump to content

Get last dismissed companion [papyrus]


Recommended Posts

The actor needs to be stored to a variable just before the function to dismiss it is called.

 

And by actor, I mean their actorbase, since these are going to be unique actors and no worry of taking leveled actors into account.

Edited by EveningTide
Link to comment
Share on other sites

Register for the CompanionChange event on FollowersScript - the first argument (Actor ActorThatChanged) contains a reference to the actor that was dismissed when the second argument (bool IsNowCompanion) is false.

I have never used custom events and I'm probably doing something wrong: RegisterForCustomEvent(FollowersScript,"CompanionChange") gives error.

Can you explain in more detail?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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