MesaSolar Posted October 2, 2023 Share Posted October 2, 2023 First time this has happened to me. I'm trying to enable an alias ref property (a DefaultActivateSelfTrigger linked to some mirelurks) and I'm getting an error message when I try to compile. It's like the base script has forgotten how to enable a property. Weird. SetObjectiveCompleted(30)SetObjectiveDisplayed(40)aMirelurkTrigger01.Enable() any suggestions? Papyrus Compiler Version 2.8.0.4 for Fallout 4Copyright © ZeniMax Media. All rights reserved.Starting 1 compile threads for 1 files...Compiling "TLG:Fragments:Quests:QF_TLG_Quest02_01007D70_1"...C:\Users\pmcof\AppData\Local\Temp\PapyrusTemp\TLG\Fragments\Quests\QF_TLG_Quest02_01007D70_1.psc(34,19): Enable is not a function or does not existNo output generated for TLG:Fragments:Quests:QF_TLG_Quest02_01007D70_1, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on TLG:Fragments:Quests:QF_TLG_Quest02_01007D70_1 Link to comment Share on other sites More sharing options...
niston Posted October 3, 2023 Share Posted October 3, 2023 aMirelurkTrigger01 is a ReferenceAlias or Alias? ReferenceAlias script derives from Alias script, which derives from ScriptObject.Enable() however is a method on ObjectReference script. If it's ReferenceAlias, you can try:aMirelurkTrigger01.GetRef().Enable() Or this:aMirelurkTrigger01.TryToEnable() Link to comment Share on other sites More sharing options...
MesaSolar Posted October 3, 2023 Author Share Posted October 3, 2023 Switching the property over to an object reference did the trick. Thanks for the help! Link to comment Share on other sites More sharing options...
Recommended Posts