Hi! I'm new to the forum and new to modding. I've been working on a quest, and I've exhausted my own troubleshooting capacity.
To make this quest, I was guided by the "Quest Design Fundamentals" tutorial at creationkit.com, changing the specifics to match my own idea. It's a very basic quest: BadGuy stole PreciousItem from GoodGuy. GoodGuy commissions Player to return it. GoodGuy, BadGuy, and PreciousItem were all created by me in the Creation Kit.
I've tracked my problem to a changing reference ID. In the CK, BadGuy's reference ID is 0400753F. At runtime, it's 1A00753F. I've played around a bit, and it seems to change based on how many mods I'm loading. I can get the first two characters to change in the Creation Kit by loading different mods.
As a result, whenever the script refers to BadGuy, it fails and instead puts something like "error: Cannot call Enable() on a None object" in my Papyrus log.
The question is, how do I get the game to find and use the correct reference at runtime?
Thank you for any help!