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