Double Kick Spell

Kosire

New Member
Reaction score
0
Trigger:
  • Double Kick
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Double Kick
    • Actions
      • Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)
      • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)
      • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)


How do I make the dummy cast a custom ability that I have based off storm bolt?
 

Komaqtion

You can change this now in User CP.
Reaction score
469
That should work ;)
But, you'll need to add the ability to the dummy too :p

And also, change the event to "A unit Starts the effect of an ability" ;)
 

Kosire

New Member
Reaction score
0
That should work ;)
But, you'll need to add the ability to the dummy too :p

And also, change the event to "A unit Starts the effect of an ability" ;)

Thanks. Now I came into something else : /. If I want the spell to do different damage every time you use it on a different level of the ability, Ill need 4 differenct dummy spells, but will I need 4 different dummy units made in OE?
 

Avaleirra

Is back. Probably.
Reaction score
128
No, just add levels to it and set the level of the dummy ability to the same as double kick.
 

Kosire

New Member
Reaction score
0
Trigger:
  • Double Kick
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Double Kick
    • Actions
      • Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
      • Unit - Set level of Double Kick Dummy for (Last created unit) to (Level of Double Kick for (Casting unit))
      • Unit - Order (Last created unit) to Undead Death Knight - Death Coil (Target unit of ability being cast)
      • Wait 0.05 seconds
      • Unit - Order (Last created unit) to Undead Death Knight - Death Coil (Target unit of ability being cast)
      • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)


Here's what I got then. any1 see a bug off the bat be4 I test? btw thanks to both Ava and Koma
+rep
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Yeah, I do...
Code:
 Unit - Order (Last created unit) to Undead Death Knight - Death Coil [COLOR="Red"](Target unit of ability being cast)[/COLOR]
 Unit - Add a 2.50 second Generic expiration timer to [COLOR="Red"](Last created unit)[/COLOR]

"Target unit of ability being cast" won't work after the wait...
And "Last created unit" can (Though probably won't, since it's only a 0.27 sec wait) be overwritten...
Set both of the to a variable, and you should be good ;)
 

Kosire

New Member
Reaction score
0
took off the wait. doesnt cast it twice

Trigger:
  • Double Kick
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Double Kick
    • Actions
      • Set doubleKicked = (Target unit of ability being cast)
      • Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
      • Unit - Set level of Double Kick Dummy for (Last created unit) to (Level of Double Kick for (Casting unit))
      • Unit - Order (Last created unit) to Undead Death Knight - Death Coil doubleKicked
      • Unit - Order (Last created unit) to Undead Death Knight - Death Coil doubleKicked
      • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)


That kind of variable?
 

HydraRancher

Truth begins in lies
Reaction score
197
(Target Unit Of Ability being Cast) Does work after a wait, it expires after a 0.80 second wait like most event responses excluding (Triggering Unit)
 

reyghost

New Member
Reaction score
14
Try setting castig times and all that to 0 in the obj editor for the dummy caster.
Also remember to clear your leaks.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
took off the wait. doesnt cast it twice

Trigger:
  • Double Kick
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Double Kick
    • Actions
      • Set doubleKicked = (Target unit of ability being cast)
      • Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
      • Unit - Set level of Double Kick Dummy for (Last created unit) to (Level of Double Kick for (Casting unit))
      • Unit - Order (Last created unit) to Undead Death Knight - Death Coil doubleKicked
      • Unit - Order (Last created unit) to Undead Death Knight - Death Coil doubleKicked
      • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)


That kind of variable?

Trigger:
  • Double Kick
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Double Kick
    • Actions
      • Set doubleKicked = (Target unit of ability being cast)
      • Set Temp_point = Position of (Triggering unit)
      • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Temp_point facing Default building facing degrees
      • Unit - Add Double Kick Dummy Version 1 to (Last created unit)
      • Unit - Set level of Double Kick Dummy Version 1 for (Last created unit) to (Level of Double Kick for (Triggering unit))
      • Unit - Order (Last created unit) to Undead Death Knight - Death Coil doubleKicked
      • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
      • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Temp_point facing Default building facing degrees
      • Unit - Add Double Kick Dummy Version 2 to (Last created unit)
      • Unit - Set level of Double Kick Dummy Version 2 for (Last created unit) to (Level of Double Kick for (Triggering unit))
      • Unit - Order (Last created unit) to Undead Death Knight - Death Coil doubleKicked
      • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_Temp_point)


should look like this.
Double Kick Dummy Version 1
is a death coil ability with 0 seconds casting time
Double Kick Dummy Version 2
is a death coil ability with 1 seconds casting time, change the casting time to how mcuh you want to wait befor the second kick
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top