• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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