Tabletop Simulator

Tabletop Simulator

Cartographers + Promos [Scripted]
Gawain 14 Aug, 2021 @ 11:45am
Coin buttons
Is is possible to make the buttons for the coins cycle through three states instead of just two? So default is "empty", first click "filled", then second click "X", and next click back to default. This is simply relating to using coins for the expansion. We've been "unselecting" them from the left when using them, and this usually works ok, but if we ever use up all we have, we need to use a token of some sort to remember how far along the track we've come. Would be nice with a built in way to avoid that. Not sure if there are built in buttons for this, but making custom ones with three different states shouldn't be too hard, but up to you if you think it's worth the work :)
< >
Showing 1-2 of 2 comments
wizcreations  [developer] 14 Aug, 2021 @ 1:06pm 
It's easy enough to have three coin states, but it wouldn't make sense if not playing with the expansion. What would you do in that case? The objects with the code for the coins is a different object than the one that sets up the expansion. I think that can be worked using a global variable so the coin properly adjusts to 2 or 3 states based on if the expansion is in play, but I don't know the language well enough to say for sure.
Gawain 14 Aug, 2021 @ 4:46pm 
Originally posted by wizcreations:
It's easy enough to have three coin states, but it wouldn't make sense if not playing with the expansion. What would you do in that case? The objects with the code for the coins is a different object than the one that sets up the expansion. I think that can be worked using a global variable so the coin properly adjusts to 2 or 3 states based on if the expansion is in play, but I don't know the language well enough to say for sure.
I would probably keep it as is for "base game", and spawn in custom coin items at set positions if playing with expansion. Many ways to go about it, really.
< >
Showing 1-2 of 2 comments
Per page: 1530 50