• 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.

[Trigger] Only attack one type of unit help

Status
Not open for further replies.
Level 2
Joined
Feb 12, 2010
Messages
7
Im making a TD, and if you look at the picture, im going to have towers randomly spawn in the grid of small squares, and in between rounds ill have creeps spawn in the two larger rectangles. this is my bounty system. Anyway, i want the towers to ONLY attack the creeps that come into their areas. In my case i have a chicken spawning there. but my towers insist on attacking creeps that follow the path on the bottom of the screen, and iv tried everything i can think of to make it stop. There is an event called "unit acquires target" that i thought i could use. but it needs a variable that i dont know what type it is, and i cant select the building because they spawn during the game. Can someone help me?
 

Attachments

  • Help.jpg
    Help.jpg
    206.4 KB · Views: 65
Status
Not open for further replies.
Top