| Blockland Forums > Help |
| V.C.E. |
| << < (2/5) > >> |
| WhatevaGuy:
--- Quote from: White Tiger (6224) on October 18, 2009, 05:20:14 PM ---opps sorry about that my first try was player kill now its alarm. but the alarm doesn't work either. --- End quote --- All alarm does it play a sound. Try this: onActivate|Self|VCE_modVariable|Player|<var:player:sitting>|Set|1 onActivate|Self|VCE_ifVariable|<var:player:sitting>|==|1|0 2 onVariableTrue|Player|Kill onVariableTrue|Player|playsound|alarm.wav That's if you want a noise, if not take away final event. I could be wrong, but that's my guess. --- Quote from: zenloth on October 18, 2009, 05:25:29 PM ---Dont set the variable, it is picked up from what the player is doing. Also use IfValue (I believe) rather than IfVariable. So... OnActivate>Self>VCE_IfValue <Var:player:Sitting> = 1 OnVariableTrue>Player>Whatever. Try that... I believe then if the player is sitting and clicks it, the player should get whatever happen to them. --- End quote --- Oh, come on! |
| White Tiger (6224):
--- Quote from: zenloth on October 18, 2009, 05:25:29 PM ---Dont set the variable, it is picked up from what the player is doing. Also use IfValue (I believe) rather than IfVariable. So... OnActivate>Self>VCE_IfValue <Var:player:Sitting> = 1 OnVariableTrue>Player>Whatever. Try that... I believe then if the player is sitting and clicks it, the player should get whatever happen to them. --- End quote --- Didn't work ): --- Quote from: WhatevaGuy on October 18, 2009, 05:25:49 PM ---All alarm does it play a sound. Try this: onActivate|Self|VCE_modVariable|Player|<var:player:sitting>|Set|1 onActivate|Self|VCE_ifVariable|<var:player:sitting>|==|1|0 2 onVariableTrue|Player|Kill onVariableTrue|Player|playsound|alarm.wav That's if you want a noise, if not take away final event. I could be wrong, but that's my guess. Oh, come on! --- End quote --- This also didn't work heres a video of me trying. http://www.mediafire.com/download.php?nmzzmmnnzet |
| Lugnut:
Lugnut saves the day. For the very start you need onActivate.Self.fireRelay onRelay.Self.fireRelay onRelay.self.(whatever the hell it is for value) onVariableTrue.[then whatever you want to happen when this /\ is true.] |
| Lugnut:
and thats it. im sure. be sure to activate the brick before you try. |
| darerd:
heres what i think you should do: OnPlayerTouch>Self>SetEventEnabled>true --this will make it so if you TOUCH it not click it(and to advance to the next stper) (not enabled) OnPlayerSit>Player>kill --make sure that its when hes sitting. |
| Navigation |
| Message Index |
| Next page |
| Previous page |