[Trigger] Triggers to get around this problem?

Status
Not open for further replies.

muse1988a

M

muse1988a

What triggers could i use to solve this problem

I have a hero who can metamorphis into melee/range units, each of these units has some unit abilities, each of these abilities have 3 levels.

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?

*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?
 
Last edited by a moderator:
my trigger leaks, it checks every 0.01 seconds what level and what mode the hero is in and assigns it the proper abilities but leaks and lags heaps
 
*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?

Do you even know what leaks are ? No ? Yes, I know you don't.

Anyway, post your trigger -.-
 
Almost everything "leaks". This is true for many other languages as well. Leaks occur if the language/program does not have good garbage collection for variables. It is lekely that you're trigger does not leak any huge amount, at least not enough to majorly slow down the game play.
 
Status
Not open for further replies.
Back
Top