Tabletop Simulator

Tabletop Simulator

Gloomhaven - Fantasy Setup (Scripted UI)
Snapznaz Feb 1, 2021 @ 10:03am
Long rest not working
First of all thanks for the great work. This mod is absolutely amazing!

I have this small issue with long rests. Quite often when I want to use it, I get this error:
"Error in Srcipt (Global) function <longRest>: chunk_3:(543,3-41): attempt to index a nil value <2>"

Line 543 looks like this:
"local zone = colorToPlayer[color].zone"

My player group is not always complete and I sometimes remove/add a player. Could the problem be related to the way I remove/add them?

What would be the correct way to set up the game when the player who played the second character last time is missing? Do I need to have player 4 take the second seat?

Cheers!
Last edited by Snapznaz; Feb 1, 2021 @ 10:05am
< >
Showing 1-3 of 3 comments
Kijan  [developer] Feb 2, 2021 @ 1:02pm 
the seat order is not important. you can remove player 2 or three no problem.
but you have to remove all of what is there.
but long rest is strange... i have to look into the code. did you changed any color?
the colors are set to the places and dont have to be changed also dont change the seats from the colors.
if you want to use another seat then you have to use the coor from that seat.

EDIT:
yeah the only reason i can see, is that you have a wrong color.
Last edited by Kijan; Feb 2, 2021 @ 1:08pm
Snapznaz Feb 3, 2021 @ 8:48am 
Hi, thanks for you answer! :)

If I recall correctly, I did change the colors of the seats to better match the characters' colors.
I will try to change them back to the original ones.
Snapznaz Feb 3, 2021 @ 9:07am 
I checked.
Resetting the colors to the initial ones did the trick.
(I.e. P1=Red, P2=White, P3=Blue, P4=Green)
Thanks again!
< >
Showing 1-3 of 3 comments
Per page: 1530 50