Tabletop Simulator

Tabletop Simulator

Not enough ratings
Tumba's Best Button v2, rel.20190224
   
Award
Favorite
Favorited
Unfavorite
Number of Players: 1, 2, 3, 4
Assets: Scripting
File Size
Posted
Updated
267.609 KB
Jan 21, 2018 @ 7:51am
Feb 24, 2019 @ 12:48pm
15 Change Notes ( view )

Subscribe to download
Tumba's Best Button v2, rel.20190224

In 1 collection by Tumba
Pimped By Tumba
25 items
Description
TBB is an attempt to make a button, that has all the stuff a button needs, and a little more, already coded.
Just add your own code, and you are ready to go.

TBB continues my philosphy of binding objects.
Some might find it strange, but give it a chance. You just might like it.

There is no separate manual. Everything is explained in the Lua code of the buttons.

Basic LUA skills reqired.
Several working examples included.

NOTE! This is not a game. It's an asset intended to be used by the TTS modding community.

Enjoy,
Tumba.
----------------------------------------------------------

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