| 07-06-2004, 01:03 PM | #1 |
Im trying to make a trigger whree units are created and wander around the entire map randomly but attack any units they come into. Also is there a shortcut to having 1 trigger for all players instead of doing each one for example a players unit health is 10 , order units in area to attack it? |
| 07-06-2004, 01:37 PM | #2 |
ARGH some times i just hate wc3c! I spent nearly 10 min to write down a good description for you, so you would easily understand it but then.... then when i press submit it says "page cannot be shown" and i back doesnt work either. To make it short, create units and make them move to "random point in playable map area". When i say make them move i mean "issue order targeting a point", not "move - instantly". And for your other problem, you need to "pick" the players, which will loop the actions each time while you can refer to the player in loop as the "picked" player. Sorry i cant explain this more now, took to much time from me allready. Hope you understand it ^^ If you want great trigger help in no time, join my new triggering forums! Link in sig |
| 07-06-2004, 09:02 PM | #3 |
how about giving them the wander ablilty but remove it when they are attacked and when the start to attack and get it back when they have not target... Have not tired it, just a though. |
| 07-06-2004, 09:37 PM | #4 |
Hmm yes it would probably work but... wander is extremly short distances, and the wanderer keeps stopping and waiting alot. Dunno if it's what he wants but... he never said what distance they would wander ^^ |
| 07-06-2004, 10:53 PM | #5 |
I already did the roam to random location in region but I want the units to keep doing that until they die or are ordered something else. The wander ability would work but they dont attack. |
