They Are Billions

They Are Billions

Custom Levels for They Are Billions
Add custom levels to They Are Billions by subscribing to these workshop items!
Learn More
This topic has been locked
Disabling Options in the Custom Button
Ok, I have made a custom button, with a repeatable option to upgrade my buildings/units.
Is there a way for me to disable an option/button AFTER selecting it for the first time?
I can elaborate on my set up if needed- Ty :)
< >
Showing 1-2 of 2 comments
Mortal 9 24 Jul, 2023 @ 10:03pm 
Make Variable: "Block".
Of course, you can call it whatever you like..

The condition on your button should be "Block=0"
and the Execute Code should be "Block+=1". (it will make the Veraible go up by 1)
This way, your button will never show up again - unless you make "Block-=1" somewhere.

You can make another button appear > after you click the first button - by simply using the condition: "Block=2", and if you want this button to disappear as well after clicking, simply use "Block+=1" in its Execute Code as well.
here is an example: Open [i.ibb.co]
Last edited by Mortal; 24 Jul, 2023 @ 10:14pm
RainbowThumb 5 25 Jul, 2023 @ 4:38pm 
Thank you!!!! This helped a lot!
< >
Showing 1-2 of 2 comments
Per page: 1530 50