Jump to content

Quests do not start in NukaWorld


Sars99

Recommended Posts

I've searched the forums high and low returning nothing. I have having trouble expanding my project reinforcement radio.

 

I have a controller quest that is start game enabled. Within its function is activated by an ingestible item to display a menu which selects the quest to run to spawn reinforcements.

 

Everything works fine and dandy in the Commonwealth.

 

However I want to expand it to work in NukaWorld. In Nukaworld the menus run as intended but the reinforcement quests will not start. I have the following code blocks both within the controller quest script.

 

 

Function MinutemenReinforcementMenu()
    Int iButton = RadioMenu[1].Show()
    If (iButton == 0)
        kCurrentQuest = RadioQuestInf
        RadioQuestInf.Start()
        StartTimer(20, iTimerID_CheckReinforcementQuestRunning)
    ElseIf (iButton == 1)
        kCurrentQuest = RadioQuestRanger
        RadioQuestRanger.Start()
        StartTimer(20, iTimerID_CheckReinforcementQuestRunning)
    ElseIf (iButton == 2)
        kCurrentQuest = RadioQuestCdo
        RadioQuestCdo.Start()
        StartTimer(20, iTimerID_CheckReinforcementQuestRunning)
    ElseIf (iButton == 3)
        kCurrentQuest = RadioQuestMechInf
        RadioQuestMechInf.Start()
        StartTimer(20, iTimerID_CheckReinforcementQuestRunning)
    ElseIf (iButton == 4)
        kCurrentQuest = RadioQuestElite
        RadioQuestElite.Start()
        StartTimer(20, iTimerID_CheckReinforcementQuestRunning)
    ElseIf (iButton == 5)
        kCurrentQuest = RadioQuestGhost
        RadioQuestGhost.Start()
        StartTimer(20, iTimerID_CheckReinforcementQuestRunning)
    ElseIf (iButton == 6)
        kCurrentQuest = RadioQuestSFInfil
        RadioQuestSFInfil.Start()
        StartTimer(20, iTimerID_CheckReinforcementQuestRunning)
    ElseIf (iButton == 7)
        kCurrentQuest = RadioQuestMMSniper
        RadioQuestMMSniper.Start()
        StartTimer(20, iTimerID_CheckReinforcementQuestRunning)
    ElseIf (iButton == 8)
        ;the back button
        Self.ReinforcementMainMenu()
    EndIf
EndFunction

 

The timer event is:

 

Event OnTimer(int aiTimerID)
    If (aiTimerID == iTimerID_CheckReinforcementQuestRunning)
        
              If (kCurrentQuest.IsRunning())
                  ; do nothing the quest is running.
              Else
              debug.trace(self as string + "The following reinforcement quest did not start " + kCurrentQuest as string)
              kCurrentQuest.Start()
              kCurrentQuest.SetCurrentStageID(10)
              debug.trace(self as string + "Attempted to set the quest stage to 10 of " + kCurrentQuest as string)
                      If (kCurrentQuest.IsRunning() == False)
                      debug.trace(self as string + "Despite the attempt the quest still did not start")
                  EndIf
                  RadioWarning[4].Show()
                  If (PlayerRef.GetItemCount(RadioItem) < 1)
                      ReplenRadio()
                  EndIf
              EndIf
    EndIf
EndEvent

 

What am I missing to make this work whilst in the NukaWorldspace? Do I need certain properties within the 'sub-quests' themselves?

 

From what I have read I am led to understand NukaWorld is a little borked in terms of its function which causes issues.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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