• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Hero selection

Status
Not open for further replies.
Level 1
Joined
Jun 17, 2008
Messages
3
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)
 
Level 5
Joined
Apr 8, 2008
Messages
88
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".
 
Level 14
Joined
Aug 31, 2009
Messages
775
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.
Top