• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Is there an unit/point ability that can be cast while walking ?

Status
Not open for further replies.
Level 14
Joined
Jul 1, 2008
Messages
1,314
streetpunk wanted to know a point targeting ability that is not interrupting orders.

@streetpunk, maybe try the reveal ability?

EDIT: too late, but I guess, SharDundred is right. So you may trigger it by using a non-interrupting dummy ability like defend, catch the order and select a dummy that has your point abil and is somewhere in the edge of the map where you cannot see it. ...
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
The best way is to have a system record the orders of units... in particular with the feature of continuing the one but last issued order.

When a unit is ordered to use your spell, you then have all the data in triggers that you need.
To make the unit continue walking, you issue the unit to continue the one but last order (the one before the ability order).
Then you can trigger the animations and effects of the spell while the unit is technically not interrupted... the only problem is that if it was channeling something, it stopped.
 
Level 20
Joined
Aug 13, 2013
Messages
1,696
Is there an unit/point ability that can be cast while walking ?
^ Sadly theres no warcraft based skill can cast a targeted unit/point without interrupting the current order.

Could be possible but needs a complex knowledge in triggering.
And you may need to set the cast point, blend time, castbacks animation of the caster to 0 value in its object data OR use the begins casting spell event and trigger the cooldown and its manacost.

Create custom channel ability based on a target point/unit, set its follow through time to 0, visible, order id carrion swarm, animation walk or stand.

You must use Unit Indexer System for saving the units' issued order for moving. ( save the location where the caster will move )

Unit starts the effect of an ability
Create an actual dummy or also trigger the whole spell event.
Its up to you if you want the dummy to cast a rain of fire, blizzard or carrion swarm on the spell targeted location. After that get the caster's user data and order the caster to move at the saved location. Done.

Im not sure if it will work but in this case the caster is still walking or moving to the issued move location without showing any spell animation order when he already casts the spell.

Or trigger the whole movement of the caster ( it will look like a little slide motion ) where you can use SetUnitX/Y to move the caster to the saved move location ( and does not interrupts the current order ) even channeling but its an odd btw.
 
Last edited:
Status
Not open for further replies.
Top