• 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] time triggers

Status
Not open for further replies.
Level 17
Joined
Jun 17, 2007
Messages
1,433
  • Unit - Pause unit
  • Animation - Change Your_Unit's animation speed to 0.00% of its original speed
  • Wait 5.00 game-time seconds
  • Unit - Un-Pause unit
  • Animation - Change Your_Unit's animation speed to 100.00% of its original speed
You may need to store your unit in a var depending on the wait.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
  • Untitled Trigger 004
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Your_Ability
    • Actions
      • Set Point = (Target point of ability being cast)
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 512.00 of Point matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Pause (Picked unit)
          • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
          • Wait 5.00 seconds
          • Animation - Change (Picked unit)'s animation speed to 100.00% of its original speed
          • Unit - Unpause (Picked unit)
      • Custom script: call RemoveLocation(udg_Point)

This is not MUI however and I couldn't think of any way making it MUI in GUI without starting to check buffs and stuff like that.

If you want ill make you this MUI in JASS (I just love trying to make stuff in JASS now that I started to use it ! :D).
 
Level 7
Joined
Feb 25, 2007
Messages
286
now would i still be able to have normal gui triggers in it?

What?

  • Untitled Trigger 004
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Your_Ability
    • Actions
      • Set Point = (Target point of ability being cast)
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 512.00 of Point matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Pause (Picked unit)
          • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
          • Wait 5.00 seconds
          • Animation - Change (Picked unit)'s animation speed to 100.00% of its original speed
          • Unit - Unpause (Picked unit)
      • Custom script: call RemoveLocation(udg_Point)

This is not MUI however and I couldn't think of any way making it MUI in GUI without starting to check buffs and stuff like that.

If you want ill make you this MUI in JASS (I just love trying to make stuff in JASS now that I started to use it ! :D).

Pretty sure thats as much gui as you can get... Besides the custom script part.
 
Status
Not open for further replies.
Top