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

How can I make an autogun spell

Status
Not open for further replies.
Level 2
Joined
Apr 13, 2009
Messages
21
I tried a lots of things but nothing worked, I want to make a spell of an automatic gun so the player will need to use the spell to attack.
 
Level 2
Joined
Apr 13, 2009
Messages
21
Nice try and thank you but I was more thinking that you click on the spell then you click some where around you and that the caracter will shoot like 6-7 bullet automaticly to this place and that the bullet will damage everyone they touch
 
Level 2
Joined
Apr 13, 2009
Messages
21
I already use it for semi auto or pump gun but it can't shoot more than 1 wave... and there is no trigger to make it shot other waves automaticly...
 
Level 2
Joined
Apr 13, 2009
Messages
21
Lol thx for the hint! ok I'll check there but I'd prefer you to tell me ;)
maybe you sould give me the link because I don't find it... well i'll continu to search anyways!
 
Level 2
Joined
Apr 13, 2009
Messages
21
Nice tutorial but I didn't understand how it could help me, if you could please tell me exactly what to do it will be very nice from you.
 
Level 6
Joined
May 7, 2009
Messages
228
I think they mean getting the dummy unit to case shockwave. That would solve the problem with basing mutliple abilities off the same spell. In order to get multiple waves that way, you'd probably have to trigger it though.
 
Level 2
Joined
Apr 13, 2009
Messages
21
Oh yeah thx I'll try something thx to you both but there is a last problem, idk what you mean by getting the dummy unit to case shockwave
 
Level 13
Joined
Sep 14, 2008
Messages
1,408
See a dummy unit is an invisible unit which can do EVERYTHING without being seen.
It is invisible, unselectable, unkillable.

So when somebody uses your ability you can easily create multiple dummy units and make them cast an ability based on shockwave to create your "attack". (use unit - issue order targeting a point)
 
Level 2
Joined
Apr 13, 2009
Messages
21
ok but there is no trigger to make a unit use a spell (or maybe I just never seen it but there isn't in the trigger you told me :( exept if I use shockwave but the skin will be wrong ). I know that I don't really understand that because I never used Dummy, can you please tell me the most exactly you can how to do this from the begginning.
 
Level 13
Joined
Sep 14, 2008
Messages
1,408
There are triggers which give units orders:

Unit - issue order (i think it was that) with

No target: Actions like "stop" or spells like warstomp/tunderclap
target point: Actions like "move" or spells like Shockwave
targeting unit: Actions like follow or spell like heal
...

you make your own shockwave spell with the right model and use this trigger:
(the shockwave spell must NOT have cooldown or manacost!

Set position of casting unit = "a Variable"
For(1 - numberOfBullets)

Create dummy unit at "the Variable"
Add "yourShockwave" to last created unit

unit - order last created unit to "orc chieftain - shockwave" to target point of ability being cast
 
Status
Not open for further replies.
Top