- Joined
- Feb 20, 2016
- Messages
- 274
I added the neutral War Stomp ability to the RPG Tauren unit I downloaded but there's a slight delay when casting the ability. I want the ability to be instantly cast when pressing the button, how do I do this?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You can set the Tauren's cast point to 0 however this will also affect all other abilities on the unit.
P.S.: Instant cast Tauren looks so weird...![]()
Sorry, I have never done this before. Cast War Stomp with a dummy wot?Using Berserk, Wind Walk, or a Potion ability. This abilities have 0 cast time
Then you can cast your war stomp with a dummy
He meant a dummy unit with 0 cast point and a war stomp ability.Sorry, I have never done this before. Cast War Stomp with a dummy wot?
War Stomp

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to War Stomp

Actions


Set TempLoc = (Position of (Casting unit))


Unit - Create 1 <Dummy> for Player 1 (Red) at TempLoc facing Default building facing degrees


Custom script: call RemoveLocation(udg_TempLoc)


Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp


Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
That affects order of execution. You need to move them into the specified order. If you select one of the actions you should be able to drag it around into the required place.1. I created the Actions in the order you listed them but they stacked in a different order.
Yes it is fine. Yes you can remove the Loc part of the custom script and it will work.2. I created a variable called "Temp" so instead of having "Set TempLoc" I have "Set Temp", is that ok? If so I should just remove the "Loc" part from the Custom script, right?
Did you make a dummy unit type in the object editor?Forget to mention, in Unit - Create 1 <Dummy> I have no choice for a Dummy unit.
Yes it is the unit that used the ability.I'm confused here. The Caster is my unit (Tauren Axe Wielder)?
Yes you need to make a dummy unit as that dummy can cast the ability with 0 backswing if you set it to be able to. This is usually done by making the dummy unit type a ward with 0 cast back swing and no model/shadow. The same dummy could be used for multiple triggered abilities.I'm supposed to make a dummy unit too, like for example a Wisp?
It does not need to be named War Stomp, it just has to use the same order as War Stomp. The dummy unit must also have your custom War Stomp ability to be able to cast it, this can even be done by adding it with triggers.My unit was using a custom ability from Neutral Hostile that is named "War Stomp (No Mana)". Do I rename this custom ability to "War Stomp" too?
[Trigger][/Trigger] BBCode if you wanted to post your trigger on your reply.
War Stomp

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to War Stomp (Caster)

Actions


Set Temp = (Position of (Casting unit))


Unit - Create 1 <Dummy> for (Owner of (Casting unit)) at Temp facing Default building facing degrees


-------- This allows the dummy unit with "Ghost" ability to move into the position of the caster unit, casting spell in the caster's position correctly. --------


Unit - Move (Last created unit) instantly to Temp


-------- This allows the dummy unit with "Ghost" ability to move into the position of the caster unit, casting spell in the caster's position correctly. --------


Custom script: call RemoveLocation(udg_Temp)


Unit - Add a 5.00 second Generic expiration timer to (Last created unit)


Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
Add Dummy Ability

Events

Conditions

Actions


Unit - Add a 5.00 second Generic expiration timer to (Last created unit)


-------- Add the following action to add the dummy War Stomp to the dummy --------


Unit - Add War Stomp (Dummy) to (Last created unit)


-------- // --------


Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
Unit - A unit Starts the effect of an ability
(Ability being cast) Equal to War Stomp
Set TempLoc = (Position of (Casting unit))
Unit - Create 1 Dummy for Player 1 (Red) at TempLoc facing Default building facing degrees
Custom script: call RemoveLocation(udg_TempLoc)
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Also, what @Dehua_Darbuya trying to say is that if the dummy unit doesn't have the War Stomp ability yet, you can use that action to add the ability to the unit without touching your Unit Editor.
This is useful especially if you don't want to have alot of dummies in your Unit Editor.
