TaxiVader Posted January 11, 2021 Share Posted January 11, 2021 Hi Folks. I'm making an indoors settlement. All is well, however the player automatically owns the whole thing when they enter the cell. I assume this is from entering the "default empty trigger" box that is linked to the WB with the Primitive keyword. I want to change this to make it so they only own it when the player enters the "Workshop Set Owned Trigger" box surrounding the WB, as I can then force the player through a particular path using barricades that are later able to be scrapped. I used the YouTube tutorials from M0ds1984 and Neeher to create the settlement functionality. I have used the same process in exterior settlements and the WB is only owned once the "Workshop Set Owned Trigger" box is entered. Any ideas? Link to comment Share on other sites More sharing options...
Zorkaz Posted January 12, 2021 Share Posted January 12, 2021 Check the Workbench and its Script. There are ownership options Link to comment Share on other sites More sharing options...
SKKmods Posted January 12, 2021 Share Posted January 12, 2021 On the WorkshopScript instance attached to the placed workshop (not the base form) set: OwnedByPlayer FALSEStartsHostile FALSEEnabledAutomaticPlayerOwnership FALSE Then ownership will only be granted on script (ThisWorkshop as WorkshopScript).SetOwnedByPlayer(True) which WorkshopSetOwnedTriggerScript will do for you. Link to comment Share on other sites More sharing options...
TaxiVader Posted January 18, 2021 Author Share Posted January 18, 2021 Thanks SKK50, I'll give it a shot. Link to comment Share on other sites More sharing options...
TaxiVader Posted January 18, 2021 Author Share Posted January 18, 2021 Perfect, worked like a charm. Link to comment Share on other sites More sharing options...
Recommended Posts