Blockland Forums > Help
How would I go about making a long-term unlockable system?
Regulith:
Alright, so my TDM has a system where after you obtain a certain amount of points per round, you can use different weapons. The only problem with this is since points reset every round, you have to re-earn your weapons. I'd like to make it so your kills rack up in some sort of database that carries over each round, and after a large amount of them, you unlock said weapons. Anyone know how to go about doing so?
Mr. Bill:
Maybe theres something you can do with variables to save points that could be a variable. I don't know how much your in on variables though. Other wise ask Chrono or Truce. They might know what to do.
zenloth:
--- Quote from: Mr. Bill on August 27, 2009, 06:21:29 PM ---Maybe theres something you can do with variables to save points that could be a variable. I don't know how much your in on variables though. Other wise ask Chrono or Truce. They might know what to do.
--- End quote ---
Yeah I believe if you got it to assign the points to a client variable, the variables would save through death and (maybe) minigame reset.
Something along the line of (with the new vce v5)
OnWhatever>Self>VCEModVariable>Client PlayerScore Add <var:client:score>
zenloth:
Aww crumbs no edit :
Anyway Im not sure if trying to use a variable replacer inside a mod variable would work... using the replacer as a value... but you could try.
Regulith:
I use variables V4 :x