Blockland Forums > General Discussion
Power Struggle with Variable Events!
(1/1)
CobaltSea:
I am currently making a power generator but I need to fix this last bit of events. How do I get the "light" to shut off if there is less than 5 "Power"?
Custard:
>>if light >>power => 0
>>Variabletrue >>light >>setlight >>none
So if the light's power is equal to or under 0, the light will shut off no matter what. Therefor the light MUST have power to activate.

Also, I hope no starfish raids this topic and says that you're copying Isar. It's really starting to piss me off.
Jacky:

--- Quote from: Custard on January 08, 2011, 03:09:45 AM --->>if light >>power => 0 >
>>Variabletrue >>light >>setlight >>none
So if the light's power is equal to or under 0, the light will shut off no matter what. Therefor the light MUST have power to activate.

Also, I hope no starfish raids this topic and says that you're copying Isar. It's really starting to piss me off.

--- End quote ---
I agree with both the events and the Isar thing lol.
Navigation
Message Index

Go to full version