• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Charge spell

Status
Not open for further replies.
Level 2
Joined
May 28, 2007
Messages
12
I am currently making a map and i need a trigger for a spell
called charge. works a little like blink strike but he doesn't teleport he rushes toward the enemy and stunning him and deals a amount of damage please help

Charge
Events
Unit - Champion 0026 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Charge
Actions
Unit - Move Champion 0026 <gen> instantly to (Target point of ability being cast)

that's how my trigger looks but it won't work :(


I also need a trigger to zoom out game cam
 
Level 3
Joined
Jun 25, 2008
Messages
65
I tried it in GUI, too, but the problem is the "Rushing"
I dont know how to do that. Everything else is easy...

But you should make it available for all units, like this:

Charge
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Charge
Actions
Set Temp_Caster = (Triggering Unit)
Unit - Move (Triggering Unit) instantly to (Target point of ability being cast)

Now it is directly teleported to the enemy. And if you want to damage the enemy there is a Function in Unit with "Damage Unit" or "Damage Area".

Maybe you dont need the DamageThing, if you have the right BasicSpell for "Charge". If this does not work you have the wrong one :p
 
Status
Not open for further replies.
Top