Author Topic: Multiple Ontruevariable events? (VCE)  (Read 876 times)

Like,lets say you have several variable in one brick,and if you say on variable true,you cant specificly tell it  which one your asking for it to cheack to see which one is  true.So,i would like it if someone made it so that there would be variable 1, variable 2, variable 3,etc. listed in the events menu......and Onvariabletrue , onvariabletrue 2 , etc.

Someone acully did make this and it worked but the download link is now broken becouse i had it years ago and i went to try to download it again but to my disapointment it was not there anymore :c

I would like for multiple cilent variable events and multiple birck and player variable events :)
« Last Edit: January 20, 2013, 12:32:26 PM by Operation »

??????????????????????

 0 onActivate Self VCE_ifValue <var:cl:isnoob> == 1 1 1
 1 onVariableTrue Client Auto-Ban 1
 2 pnActivate Self VCE_ifValue <var:cl:isadmin> == 1 3 3
 3 onVariableTrue Client centerPrint  Admin!

Use the last parameter box to specify which events it affects.

To have it affect events 1 to 3, the last box would look like this: [1 3]

VCE can apparently already do anything you could ever think of.
Time to whip out the 30 pound manual and study that stuff..

VCE can apparently already do anything you could ever think of.
Time to whip out the 30 pound manual and study that stuff..
Except the manual isn't online anymore and the cached versions are unreadable mess with missing variable names.

??????????????????????

 0 onActivate Self VCE_ifValue <var:cl:isnoob> == 1 1 1
 1 onVariableTrue Client Auto-Ban 1
 2 pnActivate Self VCE_ifValue <var:cl:isadmin> == 1 3 3
 3 onVariableTrue Client centerPrint  Admin!
To clarify,
The first box is the input event:
onActivate
Then you add the location:
onActivate > Self
Then the next area is the output event:
onActivate > Self > VCE_ifvarable
Then you make a name for the varable:
onActivate > Self > VCE_ifvarable > snake
Equal whatever or something:
onActivate > Self > VCE_ifvarable > snake > ==
Then amount:
onActivate > Self > VCE_ifvarable > snake > == > 0
Then that STRANGE LAST BOX is actually used! Type 1 1:
onActivate > Self > VCE_ifvarable > snake > == > 0 > 1 1
But what? Oh, look at the far left of the window! The events are numbered!
Ohh! I get it! It will activate and ONLY ACTIVATE 1!
0 | onActivate > Client > VCE_ifvarable > snake > == > 0 > 1 1
1 | onVariableTrue > Client > centerPrint > wtf man grow a snake
So you want multiple ones? You got it!
0 | onActivate > Client > VCE_ifvarable > snake > == > 0 > 1 1
1 | onVariableTrue > Client > centerPrint > wtf man grow a snake
2 | onActivate > Client > VCE_ifvarable > snake > == > 1 > 3 3
3 | onVariableTrue > Client > centerPrint > yay snake
ba ba bam bam buh buh bam bam BAM bum bam boom

Except the manual isn't online anymore and the cached versions are unreadable mess with missing variable names.
Dun dun dun! VCE Manual.


Should add a downloadable PDF.
I dont' know how to make a PDF.

We need to keep this bumped up to the front page at least for another six hours or so. I want to bookmark that VCE manual page when I get home from school

To clarify,
The first box is the input event:
onActivate
Then you add the location:
onActivate > Self
Then the next area is the output event:
onActivate > Self > VCE_ifvarable
Then you make a name for the varable:
onActivate > Self > VCE_ifvarable > snake
Equal whatever or something:
onActivate > Self > VCE_ifvarable > snake > ==
Then amount:
onActivate > Self > VCE_ifvarable > snake > == > 0
Then that STRANGE LAST BOX is actually used! Type 1 1:
onActivate > Self > VCE_ifvarable > snake > == > 0 > 1 1
But what? Oh, look at the far left of the window! The events are numbered!
Ohh! I get it! It will activate and ONLY ACTIVATE 1!
0 | onActivate > Client > VCE_ifvarable > snake > == > 0 > 1 1
1 | onVariableTrue > Client > centerPrint > wtf man grow a snake
So you want multiple ones? You got it!
0 | onActivate > Client > VCE_ifvarable > snake > == > 0 > 1 1
1 | onVariableTrue > Client > centerPrint > wtf man grow a snake
2 | onActivate > Client > VCE_ifvarable > snake > == > 1 > 3 3
3 | onVariableTrue > Client > centerPrint > yay snake
ba ba bam bam buh buh bam bam BAM bum bam boom

But what if i want DIFFERENT variables? For example,i want a variable named "snake" and another named "VAGINA" on the same brick which both have a onvariabletrue for it,will it still work?