Tabletop Simulator

Tabletop Simulator

Not enough ratings
Zone Untapper
   
Award
Favorite
Favorited
Unfavorite
Game Category: Card Games
Number of Players: 1, 2, 3, 4
Assets: Scripting
File Size
Posted
Updated
35.844 KB
5 Jul, 2017 @ 2:09pm
29 Jan, 2021 @ 11:47pm
4 Change Notes ( view )

Subscribe to download
Zone Untapper

Description
Rotates cards in a given zone.

Spawn Untap tile and create a scripting zone (right click on a zone to copy its GUID to clipboard).

Set zone GUID in Untap tiles description. You can add many zones separated by semicolon - like this: {"flip":"no","zone":"02843d;7efd7e;7ea144"}

Press button to align cards to the tile (rotate tile to alter angle) - "flip":"no" or "flip":"yes" to make them flip as well.
14 Comments
drNoodles  [author] 24 Nov, 2023 @ 9:37am 
@NeM, uptap direction is tile aligned, rotate the tile with button the way you want the card to be rotated.
NeM 23 Nov, 2023 @ 3:20pm 
It's interesting, but if my players are on the side of the table, it doesnt "untap" for them, it "tap".

Any idea how I can fix it in function of the place of the player ? (Without any dependancy of the color of the player)
drNoodles  [author] 13 Oct, 2022 @ 9:22am 
the type check is there to prevent all other objects from being affected
Heikai 12 Oct, 2022 @ 7:07pm 
Never mind. I solved it. Just change "Card" to "Tile" in the following line.
if v.type=="Card" then
Heikai 12 Oct, 2022 @ 5:18am 
Is there a way to make it rotate tiles?
drNoodles  [author] 17 May, 2022 @ 1:13pm 
you would have to add in line 46
if v.type=="Card" and untap_allowed(v) then

where untap_allowed(v) is some added function that returns true or false dependent if that card v passes your check - probably check if minimal distance to every "specific object" on the table and/or their x/y/z relation
AussieBrickster 15 May, 2022 @ 10:42pm 
Thanks for this , just what I needed , is there a way to make it ignore if they a an specific object ontop? We need it to ignore status that doesn’t allow to untap
drNoodles  [author] 4 May, 2020 @ 11:29pm 
Spawn Untapper on the table (either from your saved objects or use Workshop, expand in ︙ menu

Create a scripting zone where you want cards to be affected (last button in zones menu on the left)

Left click zone to delete it
Right click to copy it's ID (we need this)

Paste id in description of Untapper - if you had zone with ID 4eb8bf you would end up with
{"flip":"no","zone":"4eb8bf"}

if you have more zones that you want to affect with one button separate them with semicolon like this
{"flip":"no","zone":"aaaaa;bbbbb;ccccc"}

the cards will align with Untapper tile so if you want some particular angle - rotate it
Icedprincess1 4 May, 2020 @ 5:58pm 
Hey guys, anyone up to giving me a little tutorial on how to use this? I haven´t figured it out as I am really new to scripting... thank you!
drNoodles  [author] 18 Jul, 2017 @ 10:21am 
I guess it's possible, but now with this mod