Tabletop Simulator

Tabletop Simulator

Not enough ratings
Hand Cards counter [Scripted tool, v1.1]
   
Award
Favorite
Favorited
Unfavorite
Number of Players: 1, 2, 3, 4
Assets: Scripting
Tags: Misc, 4+
File Size
Posted
Updated
108.089 KB
11 May, 2020 @ 4:34pm
12 May, 2020 @ 7:50am
3 Change Notes ( view )

Subscribe to download
Hand Cards counter [Scripted tool, v1.1]

In 1 collection by Unreal Ed
TTS tools
363 items
Description
This tool counts cards in a player's hands and displays them!
Useful whenever you've wondered how many cards a player's been holding and want to quickly know.


---

What is this?
This tool simply counts the number of cards in a player's hand and displays it.

You can change which player's hand it is counting the cards of by right-clicking and clicking one of the menu items at the top. It will refresh automatically every time a hand enters or leaves your hand.
At the top of the menu are also buttons that let you increase or decrease the size of the number.

NOTE: The tool will only count the cards from the first hand of each player. If your mod has multiple hands and you want counters for each, post in the comments and I can add this functionality.


I made this script for people to import into their mods, so feel free to do so! You can credit me or not.
---

How to import into your game/mod
To import into your mod or live game, you can simply use the Saved Objects (right-click -> Save Object) and then drop it on the table and it should work.

NOTE: If you drop it into a mod and there is no hand zone of the color of the tool, the tool won't work. However, an message in chat will appear and tell you how to fix it.
---

Planned to add:
Nothing! Suggestions are welcome!
7 Comments
Shep 9 Oct, 2024 @ 7:11pm 
@emilp_30 have you tried importing it like mentioned in the description, under “ How to import into your game/mod”?
emilp_30 27 Sep, 2024 @ 5:00pm 
Hello, how will I download it? thanks!
Shep 4 Jul, 2022 @ 3:04pm 
Thanks so much Unreal Ed for this tool, I use it a lot!

You even inspired me to make my own tool from scratch, but the sole idea of having this useful of a tool in TTS, came directly from this one.

Thanks!
Weazel 4 Mar, 2021 @ 12:21pm 
Ok so if I add it to my game, it works perfectly (I wish it had Brown color btw)
however when I save my mod and then reload it, the hands all lose their counters, and it's only when I load fresh ones from the Saved Objects that the counters come back.
If I clone them, the counters will also return but post an error to the chat.
lottery248 17 Jul, 2020 @ 9:41pm 
i think the hand counter won't refresh properly. i have to set the colour once again before working.
Unreal Ed  [author] 17 Jul, 2020 @ 7:06pm 
Was the tool added to a table that didn't have that hand color? Like the tool defaults to reading white's hand, but if there is no white hand it'll get buggy. The solution is to quickly add a white hand, clone the tool, switch it to the color you want and then you can delete the new white hand.

If it's not related to that, can you tell me how you get the bug to occur?
lottery248 11 Jul, 2020 @ 7:56pm 
there is a bug that the code won't repeat to update constantly.
i duplicated the counter directly and changed the colours one by one, but only manual refresh would work.