| Blockland Forums > Help |
| Need Help With VCE |
| (1/2) > >> |
| dell2:
I am not good with VCE so can anybody tell me what i did wrong |
| Gen. Hothauser:
Line 3 onplayertouch is out of place, unless you accidentally set it to onplayertouch instead of onvariabletrue. Switch lines 6 and 7 and change all of your player targets to client targets. The variable name "AA12bought" is redundant, as your check of either 1 or 0 could allow the variable to be just AA12. |
| dell2:
Still doesnt work |
| CheeseDragon:
--- Quote from: dell2 on January 05, 2013, 04:37:14 PM ---Still doesnt work --- End quote --- Do you want it to sell a gun then when the gun has been bought once they get it for free? Sorry for any misspellings or bad autocorrects, I'm on my phone. --- Code: ---Onactivate - client - vceIfvariable [aa12bought] == [1] [1 2] Onvariabletrue player add item [aa12] Onvariablefalse - self - vceifvalue - [<var:cl:score>] >= [50] [3 7] Onvariabletrue - client incscore [-50] Invariable true - client - vcemidvariable [aa12bought] set 1 Onvariabletrue - player - additem [aa12] Onvariabletrue - client centerprint [weapon has been purchased, click again at any time to receive weapon.] Onvariablefalse - client - centerprint [not enough poison] --- End code --- You can save the variables but my fingers hurt too much |
| Orion:
it'd be nice if you could, you know, tell us what's going wrong? that's like posting a picture of your options menu and saying "my blockland doesn't work" how the heck do we know what to do to fix it? |
| Navigation |
| Message Index |
| Next page |