HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Request for assistance...

04-14-2004, 04:25 AM#1
The Gearhead
I need a trigger that checks if a player has blocked or not...

I'm betting theres a way to do it through Issued Order with No Target events, but you must realize that I only want to unblock small "chunks" of area that could have been blocked.
04-14-2004, 04:54 AM#2
ThyFlame
I havn't the slightest idea what you are talking about?

Line of sight blockers?
04-14-2004, 05:29 AM#3
The Gearhead
Uh... I'm talking about a TD, to check if a player has blocked.
04-14-2004, 09:25 AM#4
Anitarf
You mean "walled". Well, as I read (haven't made TD's myself yet) the system to detect walling goes something like this: when units stop because someone walled, the game reacts as if they were given a stop order: so, make a trigger that triggers on "unit is issued an order with no target". When this happens to a moving unit, you know that some player walled, and now you can order the ordered unit to attack-move instead of move. Of course, that way, your unit will mow fight the towers to it's death; you can prevent that by adding a new trigger that, whenever a tower is destroyed, orders the killing unit to move again instead of attack-move (it would be wise to give this order to all units around the killing unit as well, just in case if more of them stopped at the same time). If the destruction of that one tower wasn't enough to clear the path, the first trigger will run again and additional towers will be destroyed.
04-14-2004, 12:34 PM#5
The Gearhead
Won't work on my TD, unfortunately.

I use three spawn points per team of two players. Two sets of two for the monsters (48 total per round) and a spawn that, should you construct a unit, will spawn armies for your side.

The only logical way I could get armies and monsters to attack was through attack-move.

Which is why I need a smarter trigger. But I think I can figure this out.