[Trigger] Would this work?

Status
Not open for further replies.
Level 13
Joined
Oct 27, 2008
Messages
1,176
Hyper Frost is ShockWave
  • Untitled Trigger 004
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Hyper Frost 8 8
    • Actions
      • Unit - Add Slow to (Target unit of issued order)
      • Wait 10.00 seconds
      • Unit - Remove Slow from (Target unit of issued order)
 
MUI is when the spell can be cast by multiple units of any player at the same time (effects of previous casts till remain). When a spell is not MUI, it means if 2 units cast it at once it will bug in some way.

MPI is an easier to do form of MUI where it is just 1 unit but for each player. Normally only MPI is needed for the average hero map as each player generally has only 1 hero.

MUI however still is better than MPI and when scripting in JASS is about as hard to do.
 
so this?
  • Untitled Trigger 004
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Hyper Frost 8 8
    • Actions
      • Set HyperFrostSlow = (Target unit of ability being cast)
      • Unit - Add Slow to HyperFrostSlow
      • Wait 10.00 seconds
      • Unit - Remove Slow from HyperFrostSlow
 
So this?
  • Untitled Trigger 004
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Hyper Frost 8 8
    • Actions
      • Set HyperFrostSlow = (Target unit of ability being cast)
      • Set FN = (Target point of ability being cast)
      • Unit - Create 1 Lich for Player 1 (Red) at ((Position of (Triggering unit)) offset by ((Facing of (Triggering unit)), 0.00)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Undead Lich - Frost Nova HyperFrostSlow
      • Unit - Remove (Last created unit) from the game
 
no no no

Unit - A unit Begins casting an ability

(Ability being cast) Equal to Hyper Frost 8 8

Set FN = (Target point of ability being cast)

Unit - Create 1 dummy for Player 1 (Red) at ((Position of (Triggering unit)) offset by ((Facing of (Triggering unit)), 0.00)) facing Default building facing degrees

unit issue dummy to move to FN ( dummy has an aura that slows units, I think that the endurance aura can go negative also someone mentioned this before )

new trigger
dummy enters FN
remove dummy
 
That second part wont work.....
nvm got it to work have to make a region move to the point of FN so the region is there
 
Part 1
  • Untitled Trigger 004
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Hyper Frost
    • Actions
      • Set FN = (Region centered at (Target point of ability being cast) with size (0.00, 0.00))
      • Unit - Create 1 Lich for Player 1 (Red) at ((Position of (Triggering unit)) offset by ((Facing of (Triggering unit)), 0.00)) facing (Facing of (Triggering unit)) degrees
      • Region - Center FN on (Target point of ability being cast)
      • Unit - Order (Last created unit) to Move To (Center of FN)
How do i get endurance aura with a -50% movement speed to work on enemy units?
 
Last edited:
Status
Not open for further replies.
Back
Top