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