hey there , I'm fairly new to papyrus scripting and i can't manage to find any solution as what i did wrong.
what my mod do is adding immersive Brothel to Fallout 4
my mod mainly work on package manipulation and i need to be able to put a script that check package start and End Outside the package tabs because they are used by multiple NPC (so i can't use package fragment menu because it would force me to create 5 nearly identical package per NPC) so the solution that i came up with , is to put a script that check the start and the end of every package
Scriptname IF_Brothel_AIPackageScriptManager extends ReferenceAlias Package Property IF_Brothel_OnJob_EscortToRoom Auto Const Event OnPackageEnd(Package akOldPackage) debug.messagebox("[AliasScript]EVENNNNNT") debug.notification("[AliasScript]EVENNNNT") if (akOldPackage == IF_Brothel_OnJob_EscortToRoom) debug.messagebox("[AliasScript]Packagggggge") debug.notification("[AliasScript]Packagggggge") endif endEvent
; ps ; the debug.notification and debug.messagebox are just there for testing
I then either attach it to my alias in the DialogueQuest of my NPC or directly to the NPC it self in the Actor Tab
my guess is that i did something wrong with the extends of my script , so tried replacing ReferenceAlias by Actor in both my "NPC alias in the DialogueQuest " and directly to the "NPC in the actor tab" , no success
ActorTab.PNG 245.29KB
0 downloads
i didn't find anything that seems to help on internet so hopefully you guys can help
ps : sorry for any English mistakes it is not my main Language
i wont be here for two hours but i 'll try keeping up on my phone
Thanks for any help