Tabletop Simulator

Tabletop Simulator

Tumba's Best Button v2, rel.20190224
23 Comments
Tumba  [author] 14 May, 2020 @ 11:22pm 
@Oddian. Excellent!
MusicNeverSleeps 14 May, 2020 @ 11:11pm 
Figured it out! Never would have been possible without your scripts. Thanks. I now have a movable bomb that can be detonated from one of your buttons. And it knocks Players down.
Tumba  [author] 12 May, 2020 @ 11:47pm 
@OddiaN. Just a suggestion. If it is always connected to the same barrel you could try to "PreBind" it. That way you can directly give the Id of the barrel to the button?
MusicNeverSleeps 12 May, 2020 @ 12:43pm 
I am having trouble binding to the Barrel. I will dig deeper. Thanks man.
Tumba  [author] 12 May, 2020 @ 1:07am 
@Oddian. Will not be able to manage to get the time to actually look at your code for some days. What is the main problem? You know where to put the code in the button script, or not? The button binds/pre-binds to the barrel, or not? The button stays stationary, or not?
MusicNeverSleeps 11 May, 2020 @ 2:09pm 
I am trying to use your button to make the script on the barrel run. There is a button on top of the barrel but I would like to be able to move the barrel and have the Button stationary.
MusicNeverSleeps 11 May, 2020 @ 2:08pm 
If it's not too much trouble could you look at this?

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2093369474
Tumba  [author] 10 May, 2020 @ 5:16am 
Yup. I'm here.
MusicNeverSleeps 9 May, 2020 @ 4:24pm 
Hey Tumba I have a question abut combining your state script to another script and I am just learning LUA. Are you still on here?
Tumba  [author] 24 Feb, 2019 @ 12:50pm 
Added:
- Boolean parameter: ignoreSurface. Setting it to true prevents TBB from binding with table surface.
- New Button that demonstrates how to clone bound object
Tumba  [author] 6 Nov, 2018 @ 3:07am 
Fixed Double-click delay problem of version 1.9.
Tumba  [author] 10 May, 2018 @ 11:56am 
Fix: Missing assetbundle for B-17 fixed.
Tumba  [author] 8 May, 2018 @ 2:31pm 
1.8
- Added support for alternative click (Right-Click). isAltClick = true/false.
- Added button to demonstrate Click, BoubleClick and RightClick.
- Added simple sample working Ui button. There will be more to Ui buttons in the future.
Tumba  [author] 2 Apr, 2018 @ 5:48am 
1.7
- Added possibility to bind without any crtierias. (ignoreBindingCriteria = true)
Binds to absolutely anything. There is one in-built restriction. Only one object at a time can be bound. This restriction might be removed in the future once I'm sure there will be no problems...

- Added postOnLoad function tu custimzabel functions. Triggers at onLoad.

- Added an Advanced Locator to demonstrate the new functionalities.

Tumba  [author] 26 Feb, 2018 @ 10:12am 
Added a nifty button that toggles object Interactably. Handy for those cases when you have a script in Global that makes objects untouchable, and you suddenly realize that you need to make changes to one... Just bind and click.
Tumba  [author] 24 Feb, 2018 @ 2:17am 
Added a happy little button called "Locator". It collects the postion and rotation values every time it is clicked. Duoble-clicking dumps those values into the Notebook. Enjoy.
Tumba  [author] 31 Jan, 2018 @ 10:43am 
1.6 Added binding to unprepared objects.
Added example button of unprepared objects binding.
The button creates a simple JSON object in Notebook, containing the contents of the Deck the button is connected to.

Small changes to the gameroom. Bigger table etc.
Tumba  [author] 29 Jan, 2018 @ 12:19am 
Been working on a bigger project. The planes in this mod are from it. Been keeping me pretty busy... :)
Muskrat Steve 28 Jan, 2018 @ 2:32pm 
Tumba! Havent seen you doing much in a while. Glad to see a new mod from you.
Tumba  [author] 28 Jan, 2018 @ 8:02am 
Thank you. Nice that you liked it.
SaltyO 27 Jan, 2018 @ 2:17pm 
*donates $3 in BTC* You're one of the best expanders on this here side of the Chicago river.
Tumba  [author] 26 Jan, 2018 @ 10:29am 
v1.51
Added place for Custom variables. Note that buttonMemory can also be used for variables.

Added a "Minimized" version of the button (All commets removed).
Tumba  [author] 22 Jan, 2018 @ 12:07pm 
v1.5

Added:
boundObjects .["BindMessage"]
showCollisionInfo = false
showBindMessage = true

Fixed:
Some typos

Changed:
Removed code from all other empty buttons than the Vanilla version.
Too much hassle and way too error prone to update everyone with latest version every time somethin is updated.
Just copy code from Vanilla to the one you want to use

Added exhaust smoke animation in planes as active when loaded.