Blockland Forums > Suggestions & Requests
score system
<< < (2/2)
chills58:
ok is this like the same way as like picking tomatos you get 1,then go to the store and sell for 1coin, then how would you buy an item?

@chrono, i put varibletrue client score 1 and killed a zombie nothing happened, anything else i need to do?
Chrono:
In zombie options window:
Killing a zombie: 10

On the item you buy:

onActivate -> Self -> VCE_ifValue <var:client:score> [>=] [cost of weapon] [1 2]
VariableTrue -> Player -> AddItem [Your item]
VariableTrue -> Client -> incScore [-cost of weapon]

Example:

onActivate -> Self -> VCE_ifValue   <var:client:score>   >=   500   1 2
VariableTrue -> Player -> AddItem   Rocket L.
VariableTrue -> Client -> incScore   -500
boodals 2:
Or have a Score -> Coin Exchange brick (v5):
OnActivate>Self>VCEIfValue>"<var:client:score>" ">=" "1" "1 1"
OnVariableTrue>Self>VCEModVariable>"Client" "Coins" "Add" "1"

Or v4 Way:

OnActivate>Self>IfScore>"GreaterEquals" "1"
VariableTrue>Client>AddVariable>"Coins" "1"

In Minigame Options have Killing Zombie = 1 point.
Navigation
Message Index
Previous page

Go to full version