Tabletop Simulator

Tabletop Simulator

Eldritch Horror Complete
 此主题已被置顶,因此可能具有重要性
King in Yellow  [开发者] 2020 年 7 月 9 日 上午 5:44
How to use the "find" and "findAll" cubes
These cubes are used to automatically draw specific cards from a deck.

To use them, you simply need to:

- Right click on the cube
- Go to the "Name" space and type in the name of the card you're looking for
- Place the cube on the appropriate deck
- Press the button

The "find" cube will find one random card of that name.

The "findAll" cube will find all the copies of that card instead.

Hope that helped clear things out!
< >
正在显示第 1 - 7 条,共 7 条留言
appetitdefou 2020 年 11 月 22 日 上午 10:08 
Just trying the updated mod as of today, getting a error with both "Find" cubes either renaming or just clicking the button. Black one gives a msg: Error in Script(Block SQuaere - p42bff) function <draw>:chunk_3:(32,24-32):attempt to index a nil value <2>. Red cubs simply draws nothing. Tried fresh reload of mod, but no improvement.
最后由 appetitdefou 编辑于; 2020 年 11 月 22 日 上午 10:08
King in Yellow  [开发者] 2020 年 11 月 22 日 下午 1:15 
Just tried it and they both work just fine. Did you follow the instructions on how to use them?
LordMatsu 2020 年 11 月 27 日 下午 9:11 
For me right click or left click on the black cube gives me the same error appetit is having. Left or right clicking the red cube does nothing. Neither cube gives me a way to type in a name. So even placing either cube on any deck also does nothing.
King in Yellow  [开发者] 2020 年 11 月 28 日 上午 2:41 
引用自 LordMatsu
Left or right clicking the red cube does nothing.

I don't understand. Right clicking on the cube (or any element in Tabletop Sim) opens a contextual menu, where you can rename, copy, edit, change color etc...

Everything in TTS has this contextual menu. I don't think you guys are clicking on the right place.
King in Yellow  [开发者] 2020 年 11 月 28 日 上午 4:37 
Oh, I checked and I think you were trying to right click on the button! You have to right click on the cube (red/black part) to open the contextual menu in order to rename it.

THEN you can press the button ;)
Hau_1026 2022 年 5 月 22 日 上午 7:53 
引用自 King in Yellow
Just tried it and they both work just fine. Did you follow the instructions on how to use them?
I followed the instructions and successfully renamed the cubes, but then encountered the "attempt to index a nil value" error. Editing the script seems to fix the problem although i don't understand why.


function onCollisionEnter(collision_info)
if collision_info.collision_object.getQuantity() > 1 then
deck_object = collision_info.collision_object
end
end

function onCollisionExit(collision_info)
if collision_info.collision_object.getQuantity() > 1 then
deck_object = nil
end
end
Joey 2022 年 9 月 12 日 上午 8:58 
引用自 Hau_1026
引用自 King in Yellow
Just tried it and they both work just fine. Did you follow the instructions on how to use them?
I followed the instructions and successfully renamed the cubes, but then encountered the "attempt to index a nil value" error. Editing the script seems to fix the problem although i don't understand why.


function onCollisionEnter(collision_info)
if collision_info.collision_object.getQuantity() > 1 then
deck_object = collision_info.collision_object
end
end

function onCollisionExit(collision_info)
if collision_info.collision_object.getQuantity() > 1 then
deck_object = nil
end
end
Make sure to place the cube on top of the deck you wish to search, as well as entering the card type you wish to find into the name field!
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50