• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Fly Height Animation Question

Status
Not open for further replies.
Level 5
Joined
Sep 10, 2006
Messages
185
I'm trying to make the units in the area go up, and then down, however they only go up. IS there a subtlety about the animation that I am missing?

  • Hydro Spout
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Hydromancer - Spout
    • Actions
      • Set HydroSpoutPos[1] = (Target point of ability being cast)
      • Set HydroSpoutGroup = (Units within 150.00 of HydroSpoutPos[1] matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
      • Unit Group - Pick every unit in HydroSpoutGroup and do (Actions)
        • Loop - Actions
          • Unit - Add Storm Crow Form to (Picked unit)
          • Unit - Remove Storm Crow Form from (Picked unit)
          • Unit - Pause (Picked unit)
          • Animation - Change (Picked unit) flying height to 600.00 at 1000.00
          • Wait 0.50 seconds
          • Animation - Change (Picked unit) flying height to 0.00 at 1000.00
 
Level 5
Joined
Sep 10, 2006
Messages
185
I can't say why it wouldn't work (to my knowledge, waits in groups don't thread crash or anything), but I can say that waits in groups are definitely not what you want.

On a side note, linear motion for knock-back/up/etc spells looks rather lame.

Well we'll see how lame it looks when it works,

put the wait between two pick every unit in :eek:

Works now, thanks. And most of the stiff /lameness is hidden by the XF :p
 
Status
Not open for further replies.
Top