Tabletop Simulator

Tabletop Simulator

Tumba's Best Button v2, rel.20190224
23 Comments
Tumba  [author] May 14, 2020 @ 11:22pm 
@Oddian. Excellent!
MusicNeverSleeps May 14, 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] May 12, 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 May 12, 2020 @ 12:43pm 
I am having trouble binding to the Barrel. I will dig deeper. Thanks man.
Tumba  [author] May 12, 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 May 11, 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 May 11, 2020 @ 2:08pm 
If it's not too much trouble could you look at this?

https://steamcommunity.com/sharedfiles/filedetails/?id=2093369474
Tumba  [author] May 10, 2020 @ 5:16am 
Yup. I'm here.
MusicNeverSleeps May 9, 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] Feb 24, 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] Nov 6, 2018 @ 3:07am 
Fixed Double-click delay problem of version 1.9.
Tumba  [author] May 10, 2018 @ 11:56am 
Fix: Missing assetbundle for B-17 fixed.
Tumba  [author] May 8, 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] Apr 2, 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] Feb 26, 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] Feb 24, 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] Jan 31, 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] Jan 29, 2018 @ 12:19am 
Been working on a bigger project. The planes in this mod are from it. Been keeping me pretty busy... :)
Muskrat Steve Jan 28, 2018 @ 2:32pm 
Tumba! Havent seen you doing much in a while. Glad to see a new mod from you.
Tumba  [author] Jan 28, 2018 @ 8:02am 
Thank you. Nice that you liked it.
SaltyO Jan 27, 2018 @ 2:17pm 
*donates $3 in BTC* You're one of the best expanders on this here side of the Chicago river.
Tumba  [author] Jan 26, 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] Jan 22, 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.