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

I need help with this triggered spell.

Status
Not open for further replies.
Level 1
Joined
Jan 2, 2005
Messages
2
Hey, I've been trying to make a Third Person Shooter map for a while - I've got the keypresses working now which is good!

Now I'm stuck on something, I need my units to have a hotkey to fire. I hoped that using a dummy ability with a hotkey of 'M' would get me somewhere but I can't think of the triggers needed to use it.

I need the Triggers to fire an arrow or whatever in the direction the casting unit's facing. Can anyone help me?
 
Level 16
Joined
Sep 3, 2004
Messages
2,086
Create an ability based off shockwave, with a cap of what damage you want to do. Then create an ability based off Berserk which does nothing and lasts .01 seconds, and the same cooldown as the arrow. Trigger this:
Code:
Events
A unit starts the effect of an ability
Conditions
Ability bieng cast equal to Fire Arrow
Actions
Order (Triggering unit) to cast Tauren Chieftain- Shockwave at (Position of (Triggering unit offset by 100 towards (Facing of (Triggering Unit)))
 
Status
Not open for further replies.
Top