I have a hero ability that, when learned, is triggered to set another ability to it's level. So as you level up one ability, it levels up another.
The trigger sets the 2nd ability to the same level of the learned one.
The problem is that, for some weird reason, at level 3 the ability button says "Level 4" and at level 4 the button says "Level 5". It doesn't even have 5 levels.
I added a debug msg, and for some weird reason it's just skipping level 3 and jumping to level 4, although the learned ability is not. So I basically cannot set it's level to level 3 - I tried triggering that, too, and it just jumps to level 4 again. I do not understand how this is possible. Any idea how to fix this?
I have a hero ability that, when learned, is triggered to set another ability to it's level. So as you level up one ability, it levels up another.
The trigger sets the 2nd ability to the same level of the learned one.
The problem is that, for some weird reason, at level 3 the ability button says "Level 4" and at level 4 the button says "Level 5". It doesn't even have 5 levels.
I added a debug msg, and for some weird reason it's just skipping level 3 and jumping to level 4, although the learned ability is not. So I basically cannot set it's level to level 3 - I tried triggering that, too, and it just jumps to level 4 again. I do not understand how this is possible. Any idea how to fix this?
Remember the level integer starts at 0.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Yes I know. And yet it still skips 1 level at level 3.
At level 1 and 2 it's fine.
Here is my trigger:
At level 3, the game messages: 2 3
Before that it's: 1 1
and
0 0