Author Topic: V.C.E.  (Read 1188 times)

How the hell do I make it kill me only when I'm Sitting? Please someone help me Im so used to the old Variables.
What am i doing wrong, heres what in have....

Yes i know thats completely wrong but the manuals confusing.

Where's the event that you put that's supposed to kill the player?

Where's the event that you put that's supposed to kill the player?

Yeah, all it does is make the player play a sound. I think you messed up a little. That or you forgot an event, who knows, maybe the sound is supposed to be in there.

opps sorry about that my first try was player kill now its alarm. but the alarm doesn't work either.

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.

opps sorry about that my first try was player kill now its alarm. but the alarm doesn't work either.

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.

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.

Oh, come on!

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.
Didn't work ):



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!

This also didn't work heres a video of me trying.
http://www.mediafire.com/download.php?nmzzmmnnzet

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.]

and thats it. im sure. be sure to activate the brick before you try.

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.

in fact i think you need to script your own eventmod for [OnPlayerSit] emotes just arent there yet

in fact i think you need to script your own eventmod for [OnPlayerSit] emotes just arent there yet
The new V5 VCE claims to have emote support.

Code: [Select]
[0] [onActivate] [Self] [VCE_ifValue] [<var:player:sitting>] [==] [1] [1 2]
[1] [onVariableTrue] [Player] [Kill]
[2] [onVariableTrue] [Player] [playsound] [alarm.wav]

I never thought you could actually do this. My VCE never came with those events.

I never thought you could actually do this. My VCE never came with those events.
Check the manual, it explains more in there.


Code: [Select]
[0] [onActivate] [Self] [VCE_ifValue] [<var:player:sitting>] [==] [1] [1 2]
[1] [onVariableTrue] [Player] [Kill]
[2] [onVariableTrue] [Player] [playsound] [alarm.wav]
OMG! It worked Thank god, I give you cookies  :cookie: :cookie: :cookie: :cookie: which i never understood  why it was a good thing (check my signature). Thanks, and thanks to everyone else that tried, i appreciate you attempts.