Switch Button


This mod adds a switch button with capacity for a single logical signal, it also can work in reverse mode, that means, when player do left-mouse click, it switch his state ON/OFF, and when a configured keybind is presed, it open his gui inventory.

Utilities
6 years ago
0.16
12

b unbuged version (download link)

5 years ago

corectif:
-solve bug:
switchbutton-keybind(ID 112), Bad argument, can_reach_entity, table expected, got string.
-solve bug :if you try active button out of range you stuck active button action and need open close gui (f key) for unstuck
Change:
-you can active button on ilimited distance
-on map mod you need use key "e" for switch button
download:
https://mega.nz/#!DXgQ1azI!2zO5toAwn7hLb-klJ6GXZ-K0ndWEN0lmjgTtTozlmUI

New response