aiTookMyJob Posted July 23, 2019 Share Posted July 23, 2019 ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end commentScriptname Fragments:Quests:QF_LtC_MaryJ_Quest_01000F99 Extends Quest Hidden Const;BEGIN FRAGMENT Fragment_Stage_0001_Item_00Function Fragment_Stage_0001_Item_00();BEGIN AUTOCAST TYPE affinityscenehandlerscriptQuest __temp = self as Questaffinityscenehandlerscript kmyQuest = __temp as affinityscenehandlerscript;END AUTOCAST;BEGIN CODEIf (Alias_MaryJ.GetActorRef().GetItemCount(LtC_Wine) == 1 && Alias_MaryJ.GetActorRef().GetItemCount(LtC_Rose) == 1)(Alias_MaryJ.GetActorRef() as CompanionActorScript).RomanceSuccess()kmyquest.UnlockedInfatuation()Debug.MessageBox("You have romanced Mary Jane")ElseDebug.MessageBox("Give Mary some wine and a flower for a Romantic evening.")EndIf;END CODE;END FRAGMENT CODE - Do not edit anything between this and the begin comment ReferenceAlias Property Alias_MaryJ Auto Const MandatoryPotion Property LtC_Wine Auto ConstPotion Property LtC_Rose Auto Const Link to comment Share on other sites More sharing options...
aiTookMyJob Posted July 23, 2019 Author Share Posted July 23, 2019 The issue is I'm not getting any compile errors but the script isn't working either, I'm not sure where I messed up but I've been stuck for like 7 hrs now :/ Link to comment Share on other sites More sharing options...
DieFeM Posted July 23, 2019 Share Posted July 23, 2019 I think the problem is not the script itself, I would add a debug message at the top of the fragment to make sure it is running when its supposed to run. Its more likely that the quest is not running because of aliases.If the message actually shows up, then check the fragment properties, you might not be filling them correctly. Link to comment Share on other sites More sharing options...
aiTookMyJob Posted July 23, 2019 Author Share Posted July 23, 2019 I put the items in forms and everything works now :D Link to comment Share on other sites More sharing options...
aiTookMyJob Posted July 23, 2019 Author Share Posted July 23, 2019 Thank you for the reply though I was way over thinking things haha Link to comment Share on other sites More sharing options...
Recommended Posts