Tabletop Simulator

Tabletop Simulator

评价数不足
Hand Cards counter [Scripted tool, v1.1]
   
奖励
收藏
已收藏
取消收藏
Number of Players: 1, 2, 3, 4
Assets: Scripting
标签: Misc, 4+
文件大小
发表于
更新日期
108.089 KB
2020 年 5 月 11 日 下午 4:34
2020 年 5 月 12 日 上午 7:50
3 项改动说明 ( 查看 )

订阅以下载
Hand Cards counter [Scripted tool, v1.1]

在 Unreal Ed 的 1 个合集中
TTS tools
363 件物品
描述
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 条留言
Shep 2024 年 10 月 9 日 下午 7:11 
@emilp_30 have you tried importing it like mentioned in the description, under “ How to import into your game/mod”?
emilp_30 2024 年 9 月 27 日 下午 5:00 
Hello, how will I download it? thanks!
Shep 2022 年 7 月 4 日 下午 3:04 
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 2021 年 3 月 4 日 下午 12:21 
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 2020 年 7 月 17 日 下午 9:41 
i think the hand counter won't refresh properly. i have to set the colour once again before working.
Unreal Ed  [作者] 2020 年 7 月 17 日 下午 7:06 
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 2020 年 7 月 11 日 下午 7:56 
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.