Tabletop Simulator

Tabletop Simulator

[Tool] Counter Points & Objects + Examples
4 Comments
Jedius IX Bakka Oct 25, 2024 @ 9:06am 
Would it be possible to use this to count (and sum) objects/points from multiple sources? Like, have two different boards to place objects on and have the script show the value of points from those two boards combined?
I tried to look a bit at the script itself but yeah, even if I found out how to change the font and color, I have no idea how to manipulate the values.
_TheCarrot_ Jul 30, 2020 @ 12:45am 
Hello, I need help, can I make it so that instead of
COUNTER_OBJECT_POINT=X
was, for example:
Value=X
In order to write less and work with it easier:csgo_explosion:
AufderWelt  [author] Jun 28, 2020 @ 10:06am 
@LycanDragon you can use the calls

get counted points and objects by function call
a table is returned with the format table: { id = { POINTS = points, OBJECTS = objects }, ... }
EXAMPLE CALL
local objController = getObjectFromGUID("XXXX") -- replace "XXXX" by guid of the controller
local countedObjPoints = objController.call("getCountedObjectsPoints" )

to get the values. after that you can do whatever you want.
LycanDragon Jun 27, 2020 @ 11:04pm 
hi - is there a way to grab the values of these tokens and use it to run some additional code?