• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Ability Level Problem

Status
Not open for further replies.
Level 2
Joined
Jan 16, 2008
Messages
8
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?
 

Orc

Orc

Level 4
Joined
Jun 11, 2008
Messages
85
Is it alright if the second Hero has the same abilities as the first, as well as the same level for those abilities?
 
Level 2
Joined
Jan 16, 2008
Messages
8
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.
Top