I am a sucker for WC3 maps based off ones from other games, and I have been working on one for the Legend of Zelda from the NES. There is an aspect I am trying to add based off of Ring Heroes from Lord of the Rings Battle for Middle Earth II.
What happens in the game is if you discover the ring and bring it back to your base you can summon a super powerful hero to fight for you. I want that on the map I am making (With the Triforce instead of the Ring obviously). And I mostly got it, but I don't know how to trigger the item to be removed when the hero reaches the summon place and add and lock the item to the "Super" hero once it spawns. So far I got...
Player 1's <Hero> gets the Triforce, once the hero returns to base they can bring the item to the summoning circle and they will lose it, but in X amount of time (5 seconds in the trigger for testing purposes) the new super hero will be spawned. The item will also be in the new hero's inventory and be locked to them until death (Item is set to drop upon death in the item data).
What happens in the game is if you discover the ring and bring it back to your base you can summon a super powerful hero to fight for you. I want that on the map I am making (With the Triforce instead of the Ring obviously). And I mostly got it, but I don't know how to trigger the item to be removed when the hero reaches the summon place and add and lock the item to the "Super" hero once it spawns. So far I got...
-
Player 1 Human
-
Events
- Unit - A unit enters Triforce Summon 1 <gen>
-
Conditions
- ((Triggering unit) has an item of type Triforce) Equal to True
- (Race of Player 1 (Red)) Equal to Human
-
Actions
- Wait 5.00 seconds
- Unit - Create 1 Medivh for Player 1 (Red) at (Center of Triforce Summon 1 <gen>) facing 90.00 degrees
- Trigger - Turn off (This trigger)
-
Events
Player 1's <Hero> gets the Triforce, once the hero returns to base they can bring the item to the summoning circle and they will lose it, but in X amount of time (5 seconds in the trigger for testing purposes) the new super hero will be spawned. The item will also be in the new hero's inventory and be locked to them until death (Item is set to drop upon death in the item data).