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

Simple Mazing Trigger

Status
Not open for further replies.
Level 2
Joined
Jun 27, 2008
Messages
8
I'm making a simple maze map, one difference is that you may chose your hero in the begining from a tavern (like DotA).
the problem is the trigger that was so simply when you only had 1 hero.

*event* a unit comes withing 70 of unit 01 (hero)
*condition* triggering unit is owned by player 11 (darkgreen) equal to true
*action* kill unit 01


that was rather simple huh?

due that fact that I can't choose (kill unit 01) and so on this doesn't work.
is there any other way to do it without making Immolation on all creeps..

please say if I was to unclear :)
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
so you want a Unit to die if it comes within 70 of a unit owned by player darkgreen?
you could add every creep into a unitgroup and check if the unit comes within 70 of a unit of the unit group

and please use trigger tags next time, just copy your trigger with "copy as text" and put it between [ Trigger] [/ Trigger] (without the spaces)

PS: Welcome to the Hive
 
Level 2
Joined
Jun 27, 2008
Messages
8
I'm not really sure how to do it anyway.
and I couldn't copy any trigger because I haven't come up with one that works yet.

  • Player Death Player 1
    • Events
      • Unit - A unit comes within 70.00 of Demon Hunter 001 <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 12 (Brown)
    • Actions
      • Unit - Kill Demon Hunter 001 <gen>
there is the trigger that should work but.. because I haven't actually made a "Demon Hunter 001" I can't select it.
 
Last edited by a moderator:
Status
Not open for further replies.
Top