Poll

How much do you like blockland

AWESOME
Very good
Maybe
Nah
Worst game ever

Author Topic: add variables  (Read 1153 times)

WHY DONT YOU SHUT UP OR LEAVE
i'm not even freaking talking... just typing dummy, and why would i leave? i thinks somebody has anger problems... trying to "yell" in words, getting all angry at me helping =D

Ok I see what I did wrong. I just checked up on the newest variables. Here is what you do. Inb4Destiny

Code: [Select]
Onactivate>player>VCE_ifVariable>[Wins*    ]  ==  [  10*   ][  1  2    ]
Onvariablefalse>player>VCE_modVariable> [Wins*    ]  Add^  [1*         ] 
Onvariabletrue>player>kill

*You may change to whatever you want
^Again, you can change it to set, add, subtract, multiply, divide, etc...

Hope that helps.

Ok i got it ty soooooooooooooooooooooooooooo ooooooooooooooooooooo much and phflack JUST DONT POST ON HERE OR ANY OTHER OF MY POSTS

1st: Get the newest form of variables, they can save.

2nd: Read the VCE Manual.

3rd: Never speak in all caps. It will label you as a noob, then no one will help you.

4th: Don't go bottom line, try this:

Code: [Select]
[X] 0 [0] onActivate > Self > VCE_modVariable > [HitMax] Set [10]
[X] 1 [0] onActivate > Self > VCE_modVariable > [get] Set [1]
[X] 2 [0] onActivate > Self > VCE_ifVariable > [HitCount] >= [<var:brick:HitMax] [ ]
[X] 3 [0] onVariableTrue > Self > disappear [5]
[X] 4 [0] onVariableTrue > Client > VCE_modVariable > [Bronze] Add [<var:brick:get>]
[X] 5 [0] onVariableTrue > Client > bottomPrint > [<color:FFFF00>Bronze<color:FFFFFF>: <var:client:Bronze>
[X] 6 [0] onVariableTrue > Client > chatMessage > [<color:00FFFF>You gained <color:FFFFFF><var:brick:get><color:00FFFF> Bronze!
[X] 7 [0] onVariableTrue > Self > VCE_modVariable > [HitCount] Set [0]
[X] 8 [0] onVariableFalse > Self > VCE_modVariable > [HitCount] Add [1]
[X] 9 [33] onActivate > Self > playSound > [hammerHit.wav]
[X] 10 [0] onActivate > Self > setEmitter > [gunFlash]
[X] 11 [0] onActivate > Self > setEmitter > [none]
[X] 12 [0] onActivate > Client > centerPrint > [<color:FF50FF><font:arial bold:20>Hits<color:FFFFFF>: <var:brick:HitCount>/<var:brick:HitMax>

 - 'HitMax' is the maximum number of clicks to get a set number of Bronze
 - 'get' is the amount of Bronze you get

Ok TY but i don't know how but i got the add variables YAY but ty

Be careful because (at least for me) there is a bug in the VCE addon that causes Blockland to hang when the game is launched.
It even happens on a clean Blockland install with the VCE addon and nothing else.

Ok thank you guys so much

I love the VCE, so if you need anything that is VCE related, just post it, or PM me. :D