• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Shooting trigger

Status
Not open for further replies.
Level 5
Joined
Sep 30, 2010
Messages
106
using some abilities and triggers, can I make my hero just shoot straight when I press certain key? without pointing my cursor, just shooting straight.. how can I do it?
 
There's only a few keys you can trigger with.
You can catch those, create a dummy with the same model as your missile model facing the triggering unit's facing angle and have it move using a periodic Unit Move trigger until it reaches an enemy unit or if your expiration timer runs out and then turn off the move unit trigger.
 
There's only a few keys you can trigger with.
You can catch those, create a dummy with the same model as your missile model facing the triggering unit's facing angle and have it move using a periodic Unit Move trigger until it reaches an enemy unit or if your expiration timer runs out and then turn off the move unit trigger.

I'm actually quite weak at triggering, can you write the triggers here? I don't even know how to create a dummy..
 
it screwed up my hero's other abilities, when I use spells like cluster rockets, it shoots one rocket straight like a dummy unit.. but my shoot ability doesn't work.. how to fix that?
 
Perhaps you did not configure the ShootAbility in the Shoot Setup.
Change that to your ability.

I did everything well :goblin_good_job: and I have last question if it's worth your time.. sorry for so many questions.. how to make this ability damage destructibles and neutral units too? it only damages enemy units..
 
Here's a test map.

It now damages:
1. Passive Neutral
2. Enemy Units
3. Destructibles (Bridges/Ramps and Trees/Destructibles)

that's all I needed, thanks!! :goblin_good_job: but when I launched the game and fired some bullets, some errors came out by the way after 1 minutes of throwing.. :(
 
Status
Not open for further replies.
Back
Top