Author Topic: making eletric fences  (Read 1990 times)


How to use toggleEventEnabled:
This simple Lightbulb will help you understand toggleEventEnabled.
Place the bulb, any brick you want.
Place the switch, any brick you want.
On the lightbulb, call it LBulb.
On the switch, call it LSwitch.
On the switch, have these events (note that the number at the front is the event number):

0 [ticked] onActivate>NAMED BRICK[LBulb]>setLight>Player's Light.
1 [unticked] onActivate>NAMED BRICK[LBulb]>setLight>None
2 [ticked] onActivate>self>toggleEventEnabled>[here goes the event numbers you want toggled (switched from ticked to unticked), in this case it is 0 1 (use a space to separate)].

Hope that helps.

think you help make elevators to?

sorry been busy so i locked it but i am working on the light ima come back in sec see what i doen wrong but i can turn it on and off once but thats it

or put in a trigger with torque