You have to have the level saved onto the computer of the player. I'm not too good with this stuff, but I do know that there are some great tutorials about banks, and saving data onto computer. If you search up banks on youtube, you'll get some real good tutorials.
The "level" or "experience" would just be an integer value. This would be the exact same as storing an integer for the number of wins or games played. For example, whenever the player kills a unit, levels up their hero, or whatever it is you want to give the player a level, just queue a trigger to run that will add 1 (or however many) to a variable that keeps track of player level. Then at the end of the game save an integer value in the bank for this variable.
You could also do a rolling EXP counter which dumps to 0 at, say, 1000 exp and adds 1 to the player's level integer. Lots of ways to accomplish what you want.
Hi again, as the title says how do you make a leveling system for the player to unlock new units next time he plays?
You have to have the level saved onto the computer of the player. I'm not too good with this stuff, but I do know that there are some great tutorials about banks, and saving data onto computer. If you search up banks on youtube, you'll get some real good tutorials.
I know how to save stuff. but i need to know how to make the levels on the player and not a unit
@Zeoxy: Go
The "level" or "experience" would just be an integer value. This would be the exact same as storing an integer for the number of wins or games played. For example, whenever the player kills a unit, levels up their hero, or whatever it is you want to give the player a level, just queue a trigger to run that will add 1 (or however many) to a variable that keeps track of player level. Then at the end of the game save an integer value in the bank for this variable.
You could also do a rolling EXP counter which dumps to 0 at, say, 1000 exp and adds 1 to the player's level integer. Lots of ways to accomplish what you want.
@BasharTeg: Go
You would store thier "experience" in a variable. At the end of each game you would save that into the bank, and load it at the start of each game.