| Blockland Forums > Help |
| add variables |
| << < (4/5) > >> |
| phflack:
--- Quote from: link276 on October 20, 2009, 10:19:27 PM ---WHY DONT YOU SHUT UP OR LEAVE --- End quote --- 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 |
| DaSord213:
Ok I see what I did wrong. I just checked up on the newest variables. Here is what you do. Inb4Destiny --- Code: ---Onactivate>player>VCE_ifVariable>[Wins* ] == [ 10* ][ 1 2 ] Onvariablefalse>player>VCE_modVariable> [Wins* ] Add^ [1* ] Onvariabletrue>player>kill --- End code --- *You may change to whatever you want ^Again, you can change it to set, add, subtract, multiply, divide, etc... Hope that helps. |
| link276:
Ok i got it ty soooooooooooooooooooooooooooo ooooooooooooooooooooo much and phflack JUST DONT POST ON HERE OR ANY OTHER OF MY POSTS |
| Deathwishez:
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: ---[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> --- End code --- - 'HitMax' is the maximum number of clicks to get a set number of Bronze - 'get' is the amount of Bronze you get |
| link276:
Ok TY but i don't know how but i got the add variables YAY but ty |
| Navigation |
| Message Index |
| Next page |
| Previous page |