PoLlama Forums  

Go Back   PoLlama Forums > WarCraft > World Editor Help

Reply
 
LinkBack Thread Tools
Old 04-30-2008   #1
 
Join Date: Mar 2008
Posts: 33
warcrafttt is on a distinguished road
every 5 seconds all units within region owned by player X are issued to attack unit X

hello

i need for ALL UNITS that spawn in a specific region to be automatically issued an order to go and attack a specific unit

i need it to check for units all time and send them to attack that building all the time like 5 seconds each time


can someone plz help me how to do this :'(

edit:

i also need them to attack everything on their way there in some range around them and kill everything just to get to the point

Last edited by warcrafttt; 04-30-2008 at 08:49 AM.
warcrafttt is offline   Reply With Quote
Old 04-30-2008   #2
 
Pogo's Avatar
 
Join Date: Feb 2008
Posts: 159
Pogo has a spectacular aura about
Re: every 5 seconds all units within region owned by player X are issued to attack un

I'm not entirely sure how to explain this, and would have a horrible time trying to explain it in JASS, but here goes:

Have a check run that adds all units owned by Player X to a defined variable unit group. Then, have a seperate trigger that has that specific group attack move to a point. If you need to, change acquisition range via triggers. Mostly its filling in the blanks, after finding the right triggers. If the unit group does an attack move to a point, then they should automatically decide to attack anything along the way.

(This is mostly guesswork on my part, I looked at the editor for five minutes)

These should be under Unit triggers. I only looked up those on my seperate computer, however, and do not have access to WE Unlimited on the one I'm on at the moment.
Pogo is offline   Reply With Quote
Old 05-03-2008   #3
 
Join Date: Mar 2008
Posts: 33
warcrafttt is on a distinguished road
Re: every 5 seconds all units within region owned by player X are issued to attack un

Thanks but im a noob at this and that really doesnt say anything for me

I need a trigger similar to "hero line wars" one for monsters to do that...

plz..
warcrafttt is offline   Reply With Quote
Old 05-04-2008   #4
 
Pogo's Avatar
 
Join Date: Feb 2008
Posts: 159
Pogo has a spectacular aura about
Re: every 5 seconds all units within region owned by player X are issued to attack un

Do what, from Hero Line Wars? Attack a certain point? Honestly, there is someone who can better answer your questions, at the moment I seem to be fumbling around the Editor without an answer. Sorry xD
Pogo is offline   Reply With Quote
Old 05-04-2008   #5
 
King_Leopold's Avatar
 
Join Date: Apr 2007
Posts: 2,436
King_Leopold is a jewel in the roughKing_Leopold is a jewel in the roughKing_Leopold is a jewel in the rough
Re: every 5 seconds all units within region owned by player X are issued to attack un

Please explain more clearly what you want. Is your map exactly like hero line wars and you want units to move like that, or something different.

Go to this link, now. [Only registered and activated users can see links. ]
King_Leopold is offline   Reply With Quote
Old 05-05-2008   #6
 
Titan's Avatar
 
Join Date: Sep 2006
Location: Seven blocks down from your drug dealer
Posts: 2,672
Titan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond repute
Re: every 5 seconds all units within region owned by player X are issued to attack un

Well, in HLW, the spawns are sent on Patrol to the center mark... they just never go back to their spawn spot because they get destroyed, etc..
You would need to spawn 1 unit at a time, then set that unit to patrol by using 'last created unit' or somthing along those lines.

[Only registered and activated users can see links. ]




Titan is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warcraft 3 Terminology Kuramawhip Guides 2 08-22-2008 09:04 PM
Unit editor basic guide Halakbalakbalak Submit a Tutorial [World Editor] 1 10-19-2007 02:18 PM
Respawning + Hero Selection on Circle DarkBlade Tutorials 4 09-07-2007 07:56 PM
Reducing Lag MrApples Submit a Tutorial [World Editor] 1 07-09-2007 03:24 PM
Cinematics! CaptainSnake World Editor Help 17 05-18-2007 11:39 AM


All times are GMT -5. The time now is 09:00 PM.

A friend of Wc3Happy
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165