- 428
- Posts
- 5
- Years
- Zekko
- Seen Nov 21, 2023
I have coded a PokeTicket item, it's expensive and it goes in the item pocket when bought. I've got the Vending Machines looking right, but how do I script them?
My goal is to create a vending machine for Pokemon, with six different Pokemon available. It will give you a choice of those six, and then trade one of your PokeTickets for a Pokeball containing your chosen Pokemon. It should also let you cancel and walk away after showing you what's on offer. And if you lack any PokeTickets, you are told to come back when you have more PokeTickets.
I know how to add Pokemon to the player via script, but how do I program this "Pokemon for PokeTicket" transaction?
My goal is to create a vending machine for Pokemon, with six different Pokemon available. It will give you a choice of those six, and then trade one of your PokeTickets for a Pokeball containing your chosen Pokemon. It should also let you cancel and walk away after showing you what's on offer. And if you lack any PokeTickets, you are told to come back when you have more PokeTickets.
I know how to add Pokemon to the player via script, but how do I program this "Pokemon for PokeTicket" transaction?