• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Resource icon

Resource [v20\v21] Secret Bases Remade 3.0.0

LinKazamine

Champion
Member
Joined
May 24, 2023
Posts
674
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.
 

Hiyouri

Novice
Member
Joined
Aug 13, 2024
Posts
17
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.

I gave up on the project. The purchase will be done as you did it originally. Anyway, thank you very much for the help you gave me. 😎👌
 

Hiyouri

Novice
Member
Joined
Aug 13, 2024
Posts
17
I have another question for you... I want to give a house to the player at the beginning of the game but with the possibility of buying others later so I was wondering if it was possible to only pass the yes or no choice for only 1 house?
With maybe a starting house option?
 

LinKazamine

Champion
Member
Joined
May 24, 2023
Posts
674
You would have to manually register the chosen base, which I don't know how to do.
 
Back
Top