Blockland Forums > Help

Varible Help

Pages: (1/2) > >>

lightupman:

I'm trying to make a Nacht Der Untoten Clone from WAW with a money based point system.So for my varible i type in <var:client:score> you get 50 points for killing a zombie.Heres my event for a weapon
OnActiavte --->Ifvarible var:client:score >= 200-->Onvaribletrue --> additem Magnified Sniper
And here is the event for my doors and things
Onactivate -->Namedobject-->Helproomdoor-->ifvarible var:client:score >= 750
OnVaribleTrue-->Namedobject-->helproomdoor-->Dissapear -1
OnvaribleFalse-->Client-->CenterPrint-->Insugniffcent Fund
OnVaribleFalse-->self-->playsound-->Beep_Denied

Kill All:

So what exactly do you need?

lightupman:

I need For the money to actually happen,nothing happens.I think the problem is that var:client:score isn't communicating with the game.For example lets say i have 1000 points,and i try to buy a weapon for 100 points i'll go click on the buy button and it won't give me it...

Kill All:

Have you tried ifvalue <var:cl:score> >= 200 1 3 (the last two numbers are the event lines to be executed from first num to second num)
Onvariabletrue player additem weapon
Onvariabletrue clinet incscore -200
Onvariablefalse client centerprint you dont have enough points


[)u[)e:


--- Quote from: lightupman on September 29, 2011, 01:32:15 PM ---I need For the money to actually happen,nothing happens.I think the problem is that var:client:score isn't communicating with the game.For example lets say i have 1000 points,and i try to buy a weapon for 100 points i'll go click on the buy button and it won't give me it...

--- End quote ---
This happens to me too

Pages: (1/2) > >>

Go to full version