Jump to content

Using ReferenceAlias with GetFormFromFile - is it even possible?


dweezer

Recommended Posts

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
Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use