Tabletop Simulator

Tabletop Simulator

View Stats:
blink625 Jul 20, 2020 @ 8:53am
Scripting Question - how to count stack of tiles and cards
How do you use script to count the number of tokens in a stack?

How do you count the number of cards in a deck?
Do you need to count cards 1 by 1 or is there a shortcut?
< >
Showing 1-2 of 2 comments
Psyrek Jul 20, 2020 @ 9:24am 
You can get the number of cards in a deck or stacked objects by using the getQuantity() function.
blink625 Jul 20, 2020 @ 9:55pm 
Thanks, work very well.
Last edited by blink625; Jul 20, 2020 @ 9:57pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jul 20, 2020 @ 8:53am
Posts: 2