- Joined
- Apr 5, 2015
- Messages
- 165
I kind of need your help mapper community.
For my latest AOS Map, I created a Tavern Hero Pick system. I'm just getting used to the Editor again, and this was my best way of doing something like that.
This is how it should work:
The Hero is bought, the buying unit gets removed, and the hero gets moved to one of the 3 Spawns.
I copied pasted this 3 times by the way, for every Team once. I didn't find any Variables to make it all in once. If you have any guesses on that too, please tell me.
The "Playerhero" variable is for moving the heroes later on for stuff like Arena fights etc.
After picking the Hero, the Game is freezing 1 second for everyone. Any guess why? And any fix maybe? - I'm extremely noobish at the moment, so please help me out.
For my latest AOS Map, I created a Tavern Hero Pick system. I'm just getting used to the Editor again, and this was my best way of doing something like that.
This is how it should work:
The Hero is bought, the buying unit gets removed, and the hero gets moved to one of the 3 Spawns.
I copied pasted this 3 times by the way, for every Team once. I didn't find any Variables to make it all in once. If you have any guesses on that too, please tell me.
The "Playerhero" variable is for moving the heroes later on for stuff like Arena fights etc.
After picking the Hero, the Game is freezing 1 second for everyone. Any guess why? And any fix maybe? - I'm extremely noobish at the moment, so please help me out.
-
Taverns T1
-
Ereignisse
-
Einheit - A unit owned by Neutral passiv Verkauft eine Einheit
-
-
Bedingungen
-
(Unit-type of (Sold unit)) Ungleich RANDOM HERO
-
Or - Any (Conditions) are true
-
Bedingungen
-
(Owner of (Buying unit)) Gleich Spieler 1 (Rot)
-
(Owner of (Buying unit)) Gleich Spieler 2 (Blau)
-
(Owner of (Buying unit)) Gleich Spieler 3 (Blaugrau)
-
-
-
-
Aktionen
-
Set Buyer = (Buying unit)
-
Set Seller = (Sold unit)
-
Set Playerhero[(Player number of (Owner of (Sold unit)))] = (Sold unit)
-
Einheit - Kill Buyer
-
Einheit - Move Seller instantly to (Center of SpawnPoint lila Schloss <gen>)
-
Spiel - Display to (All players) the text: (Player + ((String((Player number of (Owner of Buyer)))) + ( has picked + (Name of Seller))))
-
Kamera - Pan camera for (Owner of Buyer) to (Center of SpawnPoint lila Schloss <gen>) over 0.00 seconds
-
Held - Create Recall [B] and give it to Seller
-
Held - Create Ankh der Reinkarnation and give it to Seller
-
-