I found the problem, I had two different veterancy level behaviours, i had one that was more stamina focused for the tank mode and another that was more power focused for the siege mode, I planned on having the tank risk health for damage but I guess I'll just have to modify the base life and dmg instead.
and yes, I was just about to try global variables, but this ended up fixing it so I don't need to.
For simply transferring the number of experience points, you can use two not so difficult triggers.
I.E.
Events
Unit - Any Unit uses Siege Tank - Siege Mode at Generic1 - Any stage (Ignore shared abilities)
Local Variables
Conditions
Actions
Unit - Set (Triggering unit) Life to 100.0
Except in your case it would be Experience instead of Life. I think this would work, but tbh I've never worked with hero experience before..
Alternatively, you could use vespene gas or something like that to store the experience number and then recall it from there.
"Unit - Set (Triggering unit) (Property)" does not include experience, and even if it did, how would i get the value to be exactly what the prior amount of experience was?
i can't find any trigger functions that i can use to transfer experience from one unit to another, anyone know how to pull this off? It would make a great tutorial.
I'm having problems with siege mode, each time have the hero change forms it loses all of its experience and starts over. (because it requires two units to switch modes)
does anyone know how i can conserve the experience between the units? I imagine this would also occur when a zerg hero burrows.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I found the problem, I had two different veterancy level behaviours, i had one that was more stamina focused for the tank mode and another that was more power focused for the siege mode, I planned on having the tank risk health for damage but I guess I'll just have to modify the base life and dmg instead.
and yes, I was just about to try global variables, but this ended up fixing it so I don't need to.
"Unit - Set (Triggering unit) (Property)" does not include experience, and even if it did, how would i get the value to be exactly what the prior amount of experience was?
i can't find any trigger functions that i can use to transfer experience from one unit to another, anyone know how to pull this off? It would make a great tutorial.
I'm having problems with siege mode, each time have the hero change forms it loses all of its experience and starts over. (because it requires two units to switch modes)
does anyone know how i can conserve the experience between the units? I imagine this would also occur when a zerg hero burrows.