Tabletop Simulator

Tabletop Simulator

Nincs elegendő értékelés
Tumba's Best Button v2, rel.20190224
   
Díjazás
Kedvenc
Kedvenc
Törlés
Number of Players: 1, 2, 3, 4
Assets: Scripting
Fájlméret:
Közzétéve:
Frissítve:
267.609 KB
2018. jan. 21., 7:51
2019. febr. 24., 12:48
15 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Tumba's Best Button v2, rel.20190224

1 Tumba készítette gyűjteményben
Pimped By Tumba
25 elem
Leírás
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 megjegyzés
Tumba  [készítő] 2020. máj. 14., 23:22 
@Oddian. Excellent!
MusicNeverSleeps 2020. máj. 14., 23:11 
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  [készítő] 2020. máj. 12., 23:47 
@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 2020. máj. 12., 12:43 
I am having trouble binding to the Barrel. I will dig deeper. Thanks man.
Tumba  [készítő] 2020. máj. 12., 1:07 
@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 2020. máj. 11., 14:09 
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 2020. máj. 11., 14:08 
If it's not too much trouble could you look at this?

https://steamcommunity.com/sharedfiles/filedetails/?id=2093369474
Tumba  [készítő] 2020. máj. 10., 5:16 
Yup. I'm here.
MusicNeverSleeps 2020. máj. 9., 16:24 
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  [készítő] 2019. febr. 24., 12:50 
Added:
- Boolean parameter: ignoreSurface. Setting it to true prevents TBB from binding with table surface.
- New Button that demonstrates how to clone bound object