Tabletop Simulator

Tabletop Simulator

Ikke nok vurderinger
Tumba's Best Button v2, rel.20190224
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Number of Players: 1, 2, 3, 4
Assets: Scripting
Filstørrelse:
Offentliggjort:
Opdateret:
267.609 KB
21. jan. 2018 kl. 7:51
24. feb. 2019 kl. 12:48
15 ændringsbemærkninger ( vis )

Abonner for at downloade
Tumba's Best Button v2, rel.20190224

I 1 samling af Tumba
Pimped By Tumba
25 genstande
Beskrivelse
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 kommentarer
Tumba  [ophavsmand] 14. maj 2020 kl. 23:22 
@Oddian. Excellent!
MusicNeverSleeps 14. maj 2020 kl. 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  [ophavsmand] 12. maj 2020 kl. 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 12. maj 2020 kl. 12:43 
I am having trouble binding to the Barrel. I will dig deeper. Thanks man.
Tumba  [ophavsmand] 12. maj 2020 kl. 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 11. maj 2020 kl. 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 11. maj 2020 kl. 14:08 
If it's not too much trouble could you look at this?

https://steamcommunity.com/sharedfiles/filedetails/?id=2093369474
Tumba  [ophavsmand] 10. maj 2020 kl. 5:16 
Yup. I'm here.
MusicNeverSleeps 9. maj 2020 kl. 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  [ophavsmand] 24. feb. 2019 kl. 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