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

Freezing units (like the dota Chronosphere)

Status
Not open for further replies.
Level 9
Joined
Feb 14, 2009
Messages
316
Hi again xD

Do this:

  • Time Freeze
  • Events
    • Time - Every 0.10 seconds of game-time
  • Conditions
  • Actions
    • Pick every unit in (Units in (Playable Map Area)) and do (Actions)
      • Loop - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Picked unit) has buff Frozen Equal to True
          • Then - Actions
            • Unit - Pause (Picked unit)
            • Animation - Change (Picked unit)'s animation to 0% of its original value
          • Else - Actions
            • Unit - Unpause (Picked unit)
            • Animation - Change (Picked unit)'s animation to 100% of its original value
That will work perfectly if you don't use Pause Unit in other triggers. If you do use, then tell me, because in that case you will have to add some more complications.
 
Status
Not open for further replies.
Top