Hi!
If someone has time to look at this map, I would greatly appreciate.
I am trying to add 1 to the Hero-level of Unit_PlayerHero. I am setting who Unit_PlayerHero is in the "Variable Initialization" trigger. I am changing who Unit_PlayerHero is in the "Hero Selection" folder, in the "Player Hero Selection Next/Previous Hero" triggers.
When you start the map, you will have to choose the Ruler. The second hero you have to choose is Unit_PlayerHero. After that, I teleport Unit_PlayerHero somewhere. Now, if I am adding 1 to the Hero-level of Unit_PlayerHero while I am choosing the hero, it works. If I am adding 1 to his Hero-level after teleporting him, it doesen't work. And I simply can't understand why. You can add 1 to his Hero-level by entering "test2" in the chat. If someone knows why is that happening, please tell me.
Oh and while I am posting this here, I have another minor problem: when you press the "Next Hero" and "Previous Hero", both for the Ruler and for the Unit_PlayerHero, a special effect should appear (Blink) at their location...and it doesen't.
Thank you in advance!
If someone has time to look at this map, I would greatly appreciate.
I am trying to add 1 to the Hero-level of Unit_PlayerHero. I am setting who Unit_PlayerHero is in the "Variable Initialization" trigger. I am changing who Unit_PlayerHero is in the "Hero Selection" folder, in the "Player Hero Selection Next/Previous Hero" triggers.
When you start the map, you will have to choose the Ruler. The second hero you have to choose is Unit_PlayerHero. After that, I teleport Unit_PlayerHero somewhere. Now, if I am adding 1 to the Hero-level of Unit_PlayerHero while I am choosing the hero, it works. If I am adding 1 to his Hero-level after teleporting him, it doesen't work. And I simply can't understand why. You can add 1 to his Hero-level by entering "test2" in the chat. If someone knows why is that happening, please tell me.
Oh and while I am posting this here, I have another minor problem: when you press the "Next Hero" and "Previous Hero", both for the Ruler and for the Unit_PlayerHero, a special effect should appear (Blink) at their location...and it doesen't.
Thank you in advance!