| 12-29-2004, 01:33 AM | #1 |
This is a map called Rival Nations which the original mapmaker quit work on and handed over to me. I am tryin to implement the 2 new heroes (firelord, and alchemist). The heroes are in an arena where you walk the footman to their circle of power and it spawns that hero for you. I added the 2 new heros in there and created a variable to get their name from, but can't figure out how to make the trigger to spawn them. The original trigger from the author is in jass and I don't understand it. Can someone tell me how to make the trigger? |
| 12-29-2004, 03:04 AM | #2 |
I can supply you with a more detailed explenation if you so require it. Event - Unit enters region Conditions - Region equal to SelectFirelord and entering unit type equal to Footman Events - Remove entering unit Create one Firelord for owner of entering unit at location HeroSpawns If you don't understand this, just let me know, and I can detail the steps for you. And welcome to the forums. ;) |
| 12-29-2004, 03:26 AM | #3 |
Thanks man, fast response. I kind of understand, but maybe if you get time to give me more detail as I can not find all of these options. I will keep trying though. |
| 12-29-2004, 02:49 PM | #4 |
Code:
Firelord
Events
Unit - A unit enters SelectFirelord <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 Firelord for (Owner of (Triggering unit)) at (Center of HeroStart <gen>) facing (Position of (Triggering unit))Good luck. ![]() |
| 01-01-2005, 08:25 PM | #5 |
Wow thanks for the help, it worked. However I had to do it a different way anyway to make it work with the other triggers, but it works anyway. Another problem maybe you could help with. I have to redo the terrain where the hero selection is at. I need to expand it so I can fit the heros in there, but I can't figure out how to remove terrain first so that I can redo it. How do I select items on the map and delete them? |
| 01-01-2005, 11:02 PM | #6 |
im not sure but u may have to creat a circle of power to that players color for each player that or put it on nutral and if u want it to span theres a unit spawn trigger and also u may have to have some conditions |
| 01-01-2005, 11:06 PM | #7 |
is it dodad or unit or what if its one those theres a buttinon that looks like a squaare (sumtin like this it maybe a question mark on ur comp ☼ ) that should then be pushed in and then u can drag ur mouse across the size of units or doodads and then press dealet or backspace on ur key bord or if u want to do one at a time hold shift and use mouse click one at a time |
