I'm still trying to figure out how to bank units/levels and other stats like behaviors and abilities and what not that belong to that unit as they level up. Can anyone help me out with this?
Just simply record everything a unit does as it does it and set it as a variable and store it to the bank.
So if you get a kill, add 1 to a variable and store it. If your unit gains exp, store it. If your unit gains a behavior, then set a variable to true and store it, if the behavior can stack multiple times then use an integer variable, add 1 and store it. Ect...
You'll need to do this for every aspect of your unit.
Then next time the game loads, you'll want to set each variable as the stored value for each bank key and apply them to the unit again. Then you can go on adding kills/exp and such to the variables.
I like to store information as it happens so I can have the most up-to-date information for my units and have the game be as close as possible to where it was when the player left off. Alternatively you can have a periodic event that will store all the unit information every few seconds.
If you want to record many units, like 100's, 1000's or even like 30 or more, then DO NOT bank them. Simply tell your players to use "resume from replay" that they added in HoTS. It's basically like banking the entire game without any work and an amazing way to pick up where you left off in a single player map.
I'm still trying to figure out how to bank units/levels and other stats like behaviors and abilities and what not that belong to that unit as they level up. Can anyone help me out with this?
Just simply record everything a unit does as it does it and set it as a variable and store it to the bank. So if you get a kill, add 1 to a variable and store it. If your unit gains exp, store it. If your unit gains a behavior, then set a variable to true and store it, if the behavior can stack multiple times then use an integer variable, add 1 and store it. Ect... You'll need to do this for every aspect of your unit.
Then next time the game loads, you'll want to set each variable as the stored value for each bank key and apply them to the unit again. Then you can go on adding kills/exp and such to the variables.
I like to store information as it happens so I can have the most up-to-date information for my units and have the game be as close as possible to where it was when the player left off. Alternatively you can have a periodic event that will store all the unit information every few seconds.
If you want to record many units, like 100's, 1000's or even like 30 or more, then DO NOT bank them. Simply tell your players to use "resume from replay" that they added in HoTS. It's basically like banking the entire game without any work and an amazing way to pick up where you left off in a single player map.
@AstralCV: Go
Tutorial please... I have no idea what a variable is... :P
I shall guide you to this currently https://www.sc2mapster.com/forums/resources/tutorials/2051-trigger-beginner-variables-arrays-constants-if-statements/
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)