I
insom
Guest
Well.. Im new to WE and i have a few questions.
I want to make units spawn and and walk towards a building and attack it (This I have been able to do).
But I'm clueless as to how I can get it to attack any players(hero's) in its way.
The map im trying to make is pretty much, "Protect the building", where the players control hero's.
I would also like the hero's to attack the units attacking the building (as of right now, I have to select "attack" then click on the creeps).
This is what I have so far
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Unit - Create 10 Bandit for Neutral Hostile at (Position of Circle of Power (large) 0023 <gen>) facing Default building facing degrees
Wait 0.20 game-time seconds
Unit Group - Pick every unit in (Units owned by Neutral Hostile) and do (Unit - Order (Picked unit) to Attack-Move To (Position of Building 0009 <gen>))
Any help would be appreciated, thanks
I want to make units spawn and and walk towards a building and attack it (This I have been able to do).
But I'm clueless as to how I can get it to attack any players(hero's) in its way.
The map im trying to make is pretty much, "Protect the building", where the players control hero's.
I would also like the hero's to attack the units attacking the building (as of right now, I have to select "attack" then click on the creeps).
This is what I have so far
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Unit - Create 10 Bandit for Neutral Hostile at (Position of Circle of Power (large) 0023 <gen>) facing Default building facing degrees
Wait 0.20 game-time seconds
Unit Group - Pick every unit in (Units owned by Neutral Hostile) and do (Unit - Order (Picked unit) to Attack-Move To (Position of Building 0009 <gen>))
Any help would be appreciated, thanks


