I’m making a battle royale style game with an extensive shop to buy gadgets, upgrades, tools, etc. and I wanted to know if there was an easier/quicker way to make a big store because right now I am programming in every single item but that uses up my time, sanity and game memory so I wanted to know if anyone had any suggestions on how to do it so that it is quicker and less memory-intensive?
You can just use vending machines, they are pretty simple.
I’m pretty sure you can use invisible vending machines and make the player purchase the item on a channel. Correct me if I’m wrong
So when they choose an option you buy from the vending machine
ooh thx
but what can i do about status effects/things that aren’t items
buttons with the name of item that uses a checker to see if the player has money if it passes then grant item and de-grant cash.
That is the dialiuge device (season ticket), so I have NO CLUE how to use it. But xlr8 is corr3ect in how to do that, you’ll probably need to input some call to actions as well
Vending machines are easier.
You can have a vending machine transmit on a channel when bought instead of receiving an item. That’s how most speed modifier vending machines work
Do you have the ST?
mhmm yeah im using triggers to run the code for every single thing because I don’t really know a better way which is why I made this post but im using the dialogue box as a selector for the trigger which checks if the player has enough money and then if they do it activates another trigger that gives the player whatever and it works so far but im gonna expand it and it is VERY tedious to do
You should use a checker to check if the player has enough money.
Then the checker sends a channel to the item granter to give an item
You can use vending machines that buy on a channel. And if you want it to trigger an effect vending machines can transmit channels when bought instead of items
that works for the less tedious-ness but do you know of any way i could do like a communication thingy or whatever to save a bit of memory
What do you mean?
————————
nvm your solution works ![]()
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.
