Blockland Forums > Help

help with variables and rpg stuff

Pages: << < (2/2)

1997man:


--- Quote from: Joe205 on May 28, 2009, 04:36:07 PM ---Well I'm not quite sure about the class system, I could think about that, but it seems rather complex and I'm not sure what your looking for.  As far as money I'll try.

First off get money.
Onactivate-> Player ->Add Variable-> Gold 15
Onactivate-> Client-> DisplayVariable-> Player BottomPrint Gold

Spend Money
On Activate->Self->IfVariable-> Gold
VariableTrue->Player -> Add Variable-> Gold -10
VariableTrue->Player-> Add variable-> Icecream 1
VariableTrue->Client->Displayvariable-> Player BottomPrint Gold
3000(delay) VariableTrue->Client->Displayvariable-> Player BottomPrint Icecream
VariableFalse->Client-> Bottom Print Message: YOU DON"T HAVE ENOUGH GOLD!

Something like that, examples are the best way to learn variables.

--- End quote ---
thank you very much

1997man:

now any help with what I can do with variables would help alot!

1997man:

im mister bumper man

Pages: << < (2/2)

Go to full version