• 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.

stand animations

Status
Not open for further replies.
Level 5
Joined
Apr 26, 2009
Messages
92
Dont know if that was the right title but oh well.
My problem is that I have a unit with the model 'lightning bolt'. I set it in the editor and it looks cool becuase it keeps flashing, but in warcraft it flashes once and its gone, how can I fix this and also with any other model (like ability models). Thanks :grin:
 
Level 5
Joined
Apr 26, 2009
Messages
92
  • lightning
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set tempgroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Lighnting))
      • Unit Group - Pick every unit in tempgroup and do (Animation - Play (Picked unit)'s stand animation)
      • Custom script: call DestroyGroup(udg_tempgroup)
Will this work? and is it possible to make a unit loop an animation via trigger editor?

Edit:
  • lightning
    • Events
      • Time - Every 0.30 seconds of game time
    • Conditions
    • Actions
      • Set tempgroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Lighnting))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Picked unit) is alive) Equal to True
        • Then - Actions
          • Unit Group - Pick every unit in tempgroup and do (Animation - Play (Picked unit)'s stand animation)
        • Else - Actions
      • Custom script: call DestroyGroup(udg_tempgroup)
 
Last edited:
Level 9
Joined
May 30, 2008
Messages
430
select all units of this type in the game beginning and play their death animation, then if the birth animation is 0.30 seconds create periodical timer 35 seconds and play their birth animation. Not that this work for Fire Things in Doodad panel
in WE i have never try it for Lightings
 
Status
Not open for further replies.
Top