Author Topic: help with variables and rpg stuff  (Read 503 times)

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


please help me I am a variable event NOOB!

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.

I no longer need help on the class system anymore

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.
thank you very much

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

im mister bumper man