Blockland Forums > Help

How do i use toggle event enabled?

Pages: << < (2/2)

Fjeld:

I call it TEE.

Space Guy:

Surely if you click it and it disappears you can't make it reappear by clicking it because it's not raycasting...
0 [c] onActivate -> Self   -> setRendering       [ ]
1 [c] onActivate -> Self   -> setColliding       [ ]
2 [c] onActivate -> Client -> centerPrint        ["Disappeared.",1]
3 [ ] onActivate -> Self   -> setRendering       [c]
4 [ ] onActivate -> Self   -> setColliding       [c]
5 [ ] onActivate -> Client -> centerPrint        ["Reappeared.",1]
6 [c] onActivate -> Self   -> toggleEventEnabled ["0 1 2 3 4 5"]

phflack:


--- Quote from: Space Guy on July 27, 2009, 04:57:20 AM ---Surely if you click it and it disappears you can't make it reappear by clicking it because it's not raycasting...
0 [c] onActivate -> Self   -> setRendering       [ ]
1 [c] onActivate -> Self   -> setColliding       [ ]
2 [c] onActivate -> Client -> centerPrint        ["Disappeared.",1]
3 [ ] onActivate -> Self   -> setRendering       [c]
4 [ ] onActivate -> Self   -> setColliding       [c]
5 [ ] onActivate -> Client -> centerPrint        ["Reappeared.",1]
6 [c] onActivate -> Self   -> toggleEventEnabled ["0 1 2 3 4 5"]

--- End quote ---
lol, you have a good point... and if you can't see it, hard to aim?

Cyanian:

ok thanks i got what i need!

Pages: << < (2/2)

Go to full version