• 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] Why does this not works ???

Status
Not open for further replies.
Level 3
Joined
Apr 23, 2009
Messages
58
Why does this not works ??? [Solved]

Uhm i can't figure out why this doesn't works
  • Example
    • Events
      • Unit - High Lord Hoadron 0390 <gen> Dies
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in Region 029 <gen>) and do (Actions)
        • Loop - Actions
          • Unit - Move (Triggering unit) instantly to (Center of Region 014 <gen>)
Can you people help me ??

~13lade~
 
Last edited:
Level 3
Joined
Apr 23, 2009
Messages
58
both don't work (with triggering unit & Picked Unit)
  • Example
    • Events
      • Unit - A unit enters Region 029 <gen>
    • Conditions
      • High Lord Hoadron 0390 <gen> Equal to (Dying unit)
    • Actions
      • Unit - Move (Triggering unit) instantly to (Center of Region 014 <gen>)
  • Example
    • Events
      • Unit - A unit enters Region 029 <gen>
    • Conditions
      • High Lord Hoadron 0390 <gen> Equal to (Dying unit)
    • Actions
      • Unit - Move (Picked unit) instantly to (Center of Region 014 <gen>)
any other idea's ??
 
Level 9
Joined
May 27, 2006
Messages
498
Ofc it wont work, cause picked unit works only inside unit group action.
Like this;
  • Unit Group - Pick every unit in (Units in rect) and do (Actions)
    • Loop - Actions
      • Unit - Move (Picked Unit) instantly to (Center of rect)
Also, the condition is "dying unit" when the event refers to entering a region = no sense, no condition is true = trigger wont start and thus work. Use triggering or entering unit instead.

@Up
Entering unit = Triggering unit
 
Level 3
Joined
Apr 23, 2009
Messages
58
but there is no conditions that is equal to "Not alive"
___________________________________________

Edit : Thanks that did the job, just a other question

Is it possible to move only the Heroes that you can choose in mine game that are teleported because the "High Lord Hoadron" is a boss and it spawns units over time
But these are also teleported when the "unit" dies
 
Status
Not open for further replies.
Top