Try with either pbSecretBase(ID)
or pbNewSecretBase(ID)
. The ID has to be the name you put between [ ] in the secret_bases.txt with : before it. For example, I defined a secret base with the id [HouseRoute1] so the calls would be pbSecretBase(:HouseRoute1)
and pbNewSecretBase(:HouseRoute1)
.
Since you still need to register the secret base on the PBS file, that will create an event on the base's entrance that the player can interact with (so they can go inside the base). That will cause the problem that the player will be able to access the base through that event. You can make it pass as the player getting in contact with the agent to see and buy the place from there if you leave the base's entrance somewhere accessible to the player.