so I have my card simulator game, and Im trying to figure out how to make it so when you click one of the buttons (image shown below) it teleports your camera to another area which opens up the pack if you have enough packcoins, and has a little opening animation showing which cards you got. I am also trying to figure out randomizers on the cards so
each card has a different chance, and whenever you get a pack, you will also have a chance to get a duplicate card from that set.
it is because each of these buttons opens a different pack.
and also i forgot to mention that i want to pull mutiple cards out of one pack
(perferably 3 cards from each pack that could give duplicates)
Yes, each pack button on there would activate the same trigger. The trigger would can also put the different things you get from the pack as a random integer.
You just would need the camera point for the common packs to activate on a random integer. You can set the common packs channels as a higher chance of choosing like a random integer between 1/2.
Well, if we have diffrent rarities, it would be something like
Common would have, chance >/= 10 (can get from 1 through 10)
Uncommon would have, chance >/= 15 (can get from 11 through 15)
Rare would have, chance >/= 18 (can get from 16 through 18)
And so on (if you want harder chances up the first number and keep going until you can make harder chances)
If you need a picture, i can suply a picture