dweezer Posted September 3, 2016 Posted September 3, 2016 Ok, I'm stumped and I can't find an existing topic with this exact issue, so I'm posting here. I'm trying to call WeightMorph's ChangeWeight function from another mod as to manipulate it directly. As per the code below, I can set the quest externally, but I'm not having luck with getting the ReferenceAlias to fill correctly. Suggestions? ReferenceAlias property WM Auto ; persisting so I can call it outside of the init function Event OnInit() Quest WeightMorphQuest = Game.GetFormFromFile(0x001883,"WeightMorphs.esp") as Quest WM = WeightMorphQuest.WeightMorphs as ReferenceAlias EndEvent
Guest Posted September 3, 2016 Posted September 3, 2016 Once you get the quest you can call getAlias() to get the aliases of the quest. ReferenceAlias ref = myQuest.getAlias("myAlias01") as ReferenceAlias
Recommended Posts
Archived
This topic is now archived and is closed to further replies.