• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

TD like wintermaul wars or line tower wars help

Status
Not open for further replies.
Level 8
Joined
Aug 21, 2009
Messages
408
I want to make a td where you maze and have to defend against an ai controlled opponent who sends waves of units at you. But i can never figure out how to stop the player from completely blocking the row off with towers. In line tower wars, theres one unit that attacks your buildings if you block, and WMW the creeps attack if you block... anyhelp would be appreciated. + rep for an answer :D
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,264
You send invisible units through that can attack the towers but can not kill them. If it detects blocking (they start to attack towers) then you eithor clear the blockage (force sale of the attacked tower) or you give the player a few seconds to manuallf fix the problem before forcing the sale of a tower.
 
Level 8
Joined
Aug 21, 2009
Messages
408
You send invisible units through that can attack the towers but can not kill them. If it detects blocking (they start to attack towers) then you eithor clear the blockage (force sale of the attacked tower) or you give the player a few seconds to manuallf fix the problem before forcing the sale of a tower.

how would it detect blocking? is that a confusing and long trigger? if it is im just going to use the unbuildable path
 

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
before it closes, I got an idea. You could also make a trigger, that will detect when the creep is blocked (since he will attack the tower, trigger event should be unit attacks), and then, remove it's collision, and order to move again. That way, people won't have problems with mazing if that is ok with you, and they will have more space.
Hope that helped =)
 

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
There is action for it. You can find it easly in Trigger/Actions/Unit
Collision is something that makes 2 units unable to be at the same place. Hope you get it. Maybe I got a better explaination, if you run into a building, u won't pass it through, instead, you will get a headache xD
If the unit's collision is turned off, he will be able to go through a building =)
 
Status
Not open for further replies.
Top