Jump to content

SetCompanion and a quest Alias


silhouett

Recommended Posts

Ok I have a magical effect that adds the target to an alias on a quest. The Alias is then giving a script with some various options. If while this alias is filled I execute JohnDoe.SetCompanion() from either the Alias script or an external script The Johndoe becomes the companion ok but the quest which he was an alias to seems to stop functioning with any alias including the one Johndoe was filled in.
it seems like no Alias can be filled or read. I can run a basic loop in an external script and the results seem like the


RefAlias = COB_Alias.GetAlias(I) as ReferenceAlias
ObjectReference aRefpeep = RefAlias.GetReference()


This holds true when using AllowCompanion() and SetAvailableToBeCompanion() as well. Its as if this command interferes with the other Alias. I even tried a Questname.reset() which doesnt seem
to fix what ever is happening when I use this.

now I can find a work around I hope, like remove the actor from the Alias before making them a companion but I was curious if there is a know reason or explanation for this behavior ?
Link to comment
Share on other sites

  • Recently Browsing   0 members

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