Blockland Forums > Suggestions & Requests
Multiple Ontruevariable events? (VCE)
Crispy_:
--- Quote from: Zeblote on January 20, 2013, 12:35:26 PM ---??????????????????????
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!
--- End quote ---
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
jes00:
--- Quote from: Demian on January 21, 2013, 06:55:20 AM ---Except the manual isn't online anymore and the cached versions are unreadable mess with missing variable names.
--- End quote ---
Dun dun dun! VCE Manual.
SWAT One:
--- Quote from: jes00 on January 21, 2013, 07:16:56 AM ---Dun dun dun! VCE Manual.
--- End quote ---
Should add a downloadable PDF.
jes00:
--- Quote from: SWAT One on January 22, 2013, 12:32:54 AM ---Should add a downloadable PDF.
--- End quote ---
I dont' know how to make a PDF.
Mysteroo:
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