• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Hero selection

Status
Not open for further replies.

staby

S

staby

So I have been looking around on the forums abit and I haven't found the solution to my problem. I am trying to make so when my unit enters a region it creates a hero and kills the unit. I don't know what I've done wrong here is the trigger
  • Mana Dragon
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Hero Chooser
    • Actions
      • Unit - Create 1 Mana Dragon for (Triggering player) at (Center of Region 006 <gen>) facing Default building facing degrees
      • Unit - Kill (Triggering unit)
 
That is not the problem i think?

The problem lies here -->
  • Unit - Create 1 Mana Dragon for (Triggering player) at (Center of Region 006 <gen>) facing Default building facing degrees
Instead of triggering player it should be "owner of triggering unit".
 
Spoontoobig and PlasmaBear are both wrong. Triggering Unit is perfectly correct for this trigger.

However, as Hell13east said, you are using Triggering Player. There is no player doing the triggering of these actions, but there is a unit. Therefore as Hell13east said, use "Owner of (Triggering Unit)".
 
Status
Not open for further replies.
Back
Top