| 07-08-2002, 10:15 PM | #1 |
Guest | Hello, I have been browseing these boards for a few days to find answers to many of my questions about the editor, but there is one thing I still dont understand. I want to make the computer units attack-move to a spot on the map, but I can't figure out a good way to do this. The way I have been doing only works for certain units (?) I think.. If someone could tell me the best way to accomplish this, I would be very happy. :) BTW, I am making a Warcraft version of Operation Suicide from good 'ol Starcraft |
| 07-09-2002, 02:27 AM | #2 |
Guest | Okay, I'm guessing you've already put a region on the spot on the map you want them to attack, so I'll just get into the trigger Event: (if you want it to happen all the time) -Every .5 seconds Event: (if you want it to happen at a specific time) -Depends on the specific time :) Action Order (Units in (Playerable map area) owned by (player x) to attack move to (Center of (region)) ^ | Found as Unit Group - Issue Order Targeting A Point - A tip for finding things on the board, use the search function, I did a search for "mass attack" and this popped up first thing. G'luck on the map |
| 07-09-2002, 03:22 AM | #3 |
Guest | Well, that is the same trigger I hads been using, only I had it running in small regions, becuase if I pick playable map area, it lags the whole game up everytime the trigger runs... The problem is that the trigger doesn't work with zombies for some reason. Now I could just take out the zombies, but I was hopping to find out why they dont respond to the trigger. Any ideas? |
| 07-09-2002, 07:11 AM | #4 |
Make sure the zombies are neutral or owned by a computer player. In the beta at least, player owned units wouldn't respond to orders. |
| 07-09-2002, 08:42 AM | #5 |
Guest | Whoops- it turns out zombies sleep at night, and orders don't wake units up...:rolleyes: But another question: is it just my comp that lags when triggers run over and over? Some triggers like the one life101 suggested make the game unbearable.. I am going to go back and combine as many triggers as I can to see if that makes a difference. |
| 07-09-2002, 09:23 AM | #6 |
Put a bigger interval between the orders. If your region is big, and there's a unit at one end of it, and to get where he wants to go he has to walk from one to the other of it, he's going to be getting attack-move orders that entire time, when he only needs 1. Or, even better, order the unit to attack-move as they're created instead. |
