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

[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