So I'm trying to modify the script DLC04RedRocketWorkshopScript (The Nuka World Red Rocket) and I've tried just about everything I know but I can't fix an annoying problem. Basically I added another choice to the message box where you select what gang to choose for the red rocket station so that you can choose yourself as the owner. Here's the script
Scriptname DLC04RedRocketWorkshopScript extends workshopscript
group DLC04Properties
GlobalVariable property DLC04PlayerKickedOut auto const mandatory
Quest property DLC04MQ05 auto const mandatory
Message property DLC04WorkshopRedRocketPickGangMessage auto const mandatory
DLC04WorkshopParentScript property DLC04WorkshopParent auto const mandatory
endGroup
; override parent function
function CheckOwnership()
if !OwnedByPlayer
if DLC04PlayerKickedOut.GetValue() > 0
DLC04WorkshopParent.ClearRaiderSettlement(self)
SetOwnedByPlayer(true)
elseif DLC04MQ05.IsCompleted()
; show gang message
int playerChoice = DLC04WorkshopRedRocketPickGangMessage.Show()
if playerChoice < 3
int myGang = playerChoice + 1
DLC04WorkshopParent.SetRaiderSettlement(self, myGang)
DLC04WorkshopParent.CreateRaider(self)
DLC04WorkshopParent.CreateRaider(self)
DLC04WorkshopParent.CreateRaider(self)
DLC04WorkshopParent.CreateRaider(self)
elseif playerChoice == 3
DLC04WorkshopParent.ClearRaiderSettlement(self)
SetOwnedByPlayer(true)
endif
else
CustomUnownedMessage.Show()
endif
endif
endFunction
The problem I've run into is that you can no longer trade with any settlers you send there. and some users of the mod have reported that they also can't go into workshop mode without having to select the workbench. Any advice/help?