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

Status
Not open for further replies.
Level 4
Joined
Oct 13, 2004
Messages
90
how can i make a trigger that will allow me to select a hero when a unit enters a circle of power? ( like in a hero arena) but I only want one of that type of hero in the game at a time. (like only one one pitlord, only one paladin, etc.)

can anybody help me? do i have to create a region over the circle of power?

i know that i would have to remove the region after the trigger activates, but i do not know what trigger to activate, i know how to remove the region, but i do not know which trigger to use as the event. 'Unit enters Region'?

Please help,

Dragonfox
 
Level 6
Joined
May 5, 2004
Messages
232
Finally someone I can help :)

Create a region on your circle of power. Name it HeroSelect.

Code:
Event - 
  A Unit enters HeroSelect<gen>

Conditions - *your conditions, let's say:* 
  Unit-type of entering unit equals to Hero Selector

Actions - 
  Unit - Create a unit of type TheHero in [the region where it should spawn] facing building angle by default
  Trigger - Turn off this trigger

The "turn off this trigger" will make only one hero of this type to be selected.[/quote][/code]
 
Status
Not open for further replies.
Top