Blockland Forums > Help
help with variables and rpg stuff
1997man:
ok my last topic on this was immature
so i am asking you how to use variables and other events to make a gold/money system
and how to make a class choosing type thing that will save it so when a person chooses a class
when they die they will still be that class if its possible to do all of this with events
1997man:
bump
1997man:
please help me I am a variable event NOOB!
Joe205:
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.
1997man:
I no longer need help on the class system anymore