Blockland Forums > Suggestions & Requests
I need (ifLight) event
(1/2) > >>
tyler0:
Can someone make a me a ifLight event
phflack:
use variables for lights
tyler0:
How would i set it up?

onActivate > self > (if wat?)

variableTrue1 > [nameofmylight] > setlight > bright

variableFalse1 > [nameofmylight] > setlight > none
Space Guy:
[checked]   0 onActivate -> self -> setLight [Player's Light]
[unchecked] 1 onActivate -> self -> setLight [NONE]
[checked]   2 onActivate -> self -> toggleEventEnabled [0 1]

Not everything needs Variables. Stop being lazy.
Anybody:
I think he wants an event for checking if the players light is on.
Navigation
Message Index
Next page

Go to full version