Tabletop Simulator
Недостаточно оценок
Lay Down - Object rotation tool
   
Наградить
В избранное
В избранном
Удалить
Assets: Scripting
Метки: Misc
Размер файла
Добавлен
9.686 KB
30 авг. 2016 г. в 6:55
Обновлений: 1 (просмотреть)

Подпишитесь, чтобы загрузить
Lay Down - Object rotation tool

Описание
On button press, this tool looks for the last object you touched and then rotates it 90 degrees to put it on its side. The axis it rotates on can be changed by clicking the toggle, although generally X will be the "correct" axis.

Due to how TTS works, the piece is automatically rotated back to "standing" if you pick it back up after rotating it, this tool does not try to prevent this. If you need to lay it down again after picking a piece up, just click the button again.
Комментариев: 10
Peter Robbins 22 ноя. 2020 г. в 15:15 
First off, thank you for this tool! very useful. One question. I was only able to reduce its degrees down to 2. (I need this to rotate warships in a naval miniatures wargame). If I set it down to 1, or -1 in for each access referenced in the Lua, it stops working. Any ideas? I use 2 or -2 throughout, and it works like a charm. Anyhow, THANK YOU. The TTS folks need to allow for down to 1 degree rotations in its main menu degree settings. (it only allows down to 15deg currently). This tool you've made is a great interim solution for now. Thanks for it.
Groule 17 мар. 2018 г. в 7:04 
Thank you ! Another usefull one ^^ 👌
MrStump  [создатель] 17 ноя. 2016 г. в 15:58 
Ideally it would, but scripting does not support adding keyboard button functions or chat commands.
Вразумихин 17 ноя. 2016 г. в 13:51 
just figured it out. the button is a scripted object that has to be put in the chest. i thought it would be a mod not a "board game" set
MrStump  [создатель] 17 ноя. 2016 г. в 10:38 
The button is the button on the device.
Вразумихин 17 ноя. 2016 г. в 3:15 
btw, i don't know where the button is bound to, nor can i find it anywhere in the game ui. pls clarify
Вразумихин 17 ноя. 2016 г. в 3:02 
this feature has to be officially implemented
Eliont 30 сен. 2016 г. в 23:03 
thanks
Star-X 5 сен. 2016 г. в 14:30 
Sadly doesn't work with two-part tokens (i.e. 2d object with separate base). Oh well, guess I'm switching back to single part tokens for this.
Star-X 30 авг. 2016 г. в 20:19 
Holy crud, exactly what I needed for online Mordheim. Thanks :D