• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

creeps ignoring walls

Status
Not open for further replies.
Level 8
Joined
Aug 16, 2009
Messages
65
trying to make a survival game with buildable barricades(walls) that the creeps will have to attack through to get to the players, but it seems like when i block an area off with walls the creeps treat it as some no-go area and look for some other open entrance...

how can i make them decide to attack the walls?
 
If I'm not mistaken - you could set your priorities of the barricade up higher than the highest unit priority that you are currently using and see if they attack it that way.
 
- First of all check if the creeps CAN attack the barricades. (If the barricades are buildings then check if the creeps can attack buildings.)

- Second, the priority is reverse. Meaning highest priority is 1 and lowest priority is 20. By doing this you should get your desired effect.

+Rep me if I helped you!
 
what about triggering it?

Event Every 0.1 second of the game time
Conditions (no need)

Actions

Unit group - pick every unit in the (playable map area) matching (Unit-type of matching unit equal to barricade) and do (Actions)
Loop - Actions
Set (BarricadeGroup <--variable) = Last Created Unit Group

Unit group - pick every unit within 600 range of (BarricadeGroup) matching ((matching unit) belongs to an enemy of Player 1) and do Unit - order (picked unit) to Attack (BarricadeGroup)

Sorry, I don't know how to use the trigger tag :ugly:

but I think this'll help you
 
- That's because the barricades don't attack the creeps! You can add an attack for them with 1-1 damage, normal/siege attack type and a cooldown according to the damage you use. If 1 cooldown is too much (causes at least low damage) then set it higher. Range should be bigger than the units behind the barricade (could be 1800).

- The alternative is triggers.
 
the thing is tho, they come close enough to get taunted. When the way is blocked, the AI will get the creeps to go somewhere else right away.

like if B is near the barricades, they would find some way to get from A to C without going through B
 
EDIT : You can reduce the collision size of the creeps and to make it better, add the Spiked Barricades ability to the barricade, so it can kill the creep, making it more possible to attack the barricade.

(Can u give me the map? I'll be away for about 5 hours but I'll do something to help you.)
 
Last edited:
Status
Not open for further replies.
Back
Top