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

Immolation increases movement speed.

Status
Not open for further replies.
Level 4
Joined
Mar 23, 2008
Messages
90
Maybe do like this

Trigger 1
  • Cast immolation
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Immolation
    • Actions
      • Set Your_Unit = (Casting unit)
Trigger 2
  • Increase Move speed
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
      • (Your_Unit has buff Immolation (Caster)) Equal to True
    • Actions
      • Unit - Create 1 Dummy for (Owner of Your_Unit) at (Position of Your_Unit) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Shaman - Bloodlust Your_Unit
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
 
Level 3
Joined
Apr 24, 2005
Messages
61
Maybe do like this

Trigger 1
  • Cast immolation
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Immolation
    • Actions
      • Set Your_Unit = (Casting unit)
Trigger 2
  • Increase Move speed
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
      • (Your_Unit has buff Immolation (Caster)) Equal to True
    • Actions
      • Unit - Create 1 Dummy for (Owner of Your_Unit) at (Position of Your_Unit) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Shaman - Bloodlust Your_Unit
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)

That'd be plain silly, seeing as it would create a dummy caster every 0.1 second to cast bloodlust and thus lag.

It could work if you changed it to:

Trigger 1
  • Cast immolation
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Immolation
    • Actions
      • Set Your_Unit = (Casting unit)
      • Unit - Create 1 Dummy for (Owner of Your_Unit) at (Position of Your_Unit) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Shaman - Bloodlust Your_Unit
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Trigger 2
  • Increase Move speed
    • Events
      • Time - Every (bloodlust duration) seconds of game time
    • Conditions
      • (Your_Unit has buff Immolation (Caster)) Equal to True
    • Actions
      • Unit - Create 1 Dummy for (Owner of Your_Unit) at (Position of Your_Unit) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Shaman - Bloodlust Your_Unit
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
You'd also need a trigger to turn off Trigger 2 when immolation was deactivated and to remove the bloodlust buff.
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
- Unit is issued order
- Issused order equal to immolation
- Set movement speed of ordered unit to (movement speed of ordered unit) + (50)

- Unit is issued order
- Issued order equal to unimmolation
- Set movement speed of ordered unit to (default of ordered unit)
 
Level 4
Joined
Apr 5, 2008
Messages
70
I thought there is a better way in one trigger.
  • Additional MS
  • Events
    • Unit - A unit Is issued an order with no target
  • Conditions
    • (Level of Ability for (Triggering unit)) Greater than 0
    • Or - Any (Conditions) are true
      • Conditions
        • (Issued order) Equal to (Order(immolation))
        • (Issued order) Equal to (Order(unimmolation))
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Issued order) Equal to (Order(immolation))
    • Then - Actions
      • Unit - Add BoostMS (+X) to (Triggering unit)
      • Unit - Set level of BoostMS (+X) for (Triggering unit) to (Level of Ability for (Triggering unit))
      • Wait 0.50 seconds
      • Wait until (((Triggering unit) has buff MS ) Equal to False), checking every 0.50 seconds
      • Unit - Remove BoostMS (+X) from (Triggering unit)
    • Else - Actions
      • Unit - Remove BoostMS (+X) from (Triggering unit)
For BoostMS you should take the Effekt from Boots of Speed.
 
Level 4
Joined
Nov 9, 2008
Messages
112
- Unit is issued order
- Issused order equal to immolation
- Set movement speed of ordered unit to (movement speed of ordered unit) + (50)

- Unit is issued order
- Issued order equal to unimmolation
- Set movement speed of ordered unit to (default of ordered unit)

If like that... you must store the unit current movement speed into variable..
because the first trigger set the movement speed to +50 ex:(300+50=350)

then the second trigger set movement speed to default... that is equal to 350

Ex:

Immolation

Event
-your event

Cond
-your condition

Act
-set CurrentSpeed = Your unit current movement speed
-Set movement speed of your unit to (movement speed of your unit) + (50)


Unimmolation

Event
-your event

Cond
-your condition

Act
- Set movement speed of your unit to CurrentSpeed

CurrentSpeed is a Variable... you can using array to it

PS: correct me if i'm wrong :p
 
Level 4
Joined
Nov 9, 2008
Messages
112
the boot of speed item ability show an icon...?? <-- read i'm asking lol

if the boots of speed item ability show the icon that was'nt good... ;p
 
Status
Not open for further replies.
Top