Save/Load System for Numerical Values

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Save/Load System for Numerical Values

Post by TechGeek001 »

I don't know where to begin on this, and I don't even know if it's possible in GUI, but I'd really like to know how to create a save/load system that determines your win percentage on my map.
Step-by-step n00b directions appreciated :D
I've got a general idea on how to get that number, what I need is a code that records these three variables:
Win#, Lose#, Win%
That way, the map can see the code that a player enters ("-load" as a substring) and then calculate (Win#+Lose#/Win#=Win%)
Aero, if this is something that absolutely needs to be a JASS thing, I...guess...maybe I could learn enough of it to manage.

I suppose that on top of this I'll need to find a way to display said code to the appropriate player at the end of the game.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Save/Load System for Numerical Values

Post by Aero »

Max # of wins/losses to record?
Do you use the normal world editor?
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Save/Load System for Numerical Values

Post by TechGeek001 »

I have WEU, don't use it much.
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Save/Load System for Numerical Values

Post by TechGeek001 »

bump