Ability Level Problem

Status
Not open for further replies.

muse1988a

M

muse1988a

Hi guys wondering if anyone can help me with this problem Ive found,

I have a hero who uses a custom ability based on the demon hunters metamorphis, this allows him to morph between melee and range units.

each unit (range, melee) has some unit abilities, these abilities have 3 levels each,

basically the problem is that if i have level 2 or 3 abilities on my melee unit, and i morph him into range, then back to melee, his abilities reset back to level 1.

is there any way to fix this?
 
Is it alright if the second Hero has the same abilities as the first, as well as the same level for those abilities?
 
Have you tried saving every form of your hero into
a var and then loading it?

MfG chemderrick

Sorry I dont understand, do you mean like have a variable for each hero with different combinations of each skill at different levels or something?


Is it alright if the second Hero has the same abilities as the first, as well as the same level for those abilities?

They have different ones,

Its multiplayer, so I need to make it MUI, basically if someone has a level 3 hunter and morphs into a range stance, then back into his melee, I want his melee abilities to be at level 3, where atm they r resetting to level 1

*EDIT - I have found a solution but it will probly leak, basically every 0.01 seconds it checks what level the Hero is and adjusts his ability levels accordingly, is this going to leak? as there will b 12 players using this trigger. is there a better way to do this?
 
Status
Not open for further replies.
Back
Top