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

Gun Spell

Status
Not open for further replies.
Level 1
Joined
Sep 8, 2004
Messages
3
i'm looking for some1 who can make or help me make a spell called "Cock Gun" wat it is, is that before every attack u must cast this spell and then attack like a shotgun. also the person that uses this spell is the strongest in my map so don't just say it will make him really weak and stupid to use o and if ur gonna make it or something the cooldown will be 3-4 seconds
 
Level 3
Joined
Aug 21, 2004
Messages
57
Base your "Cock-gun" skill of some non targetable spell. Then use a trigger to detect its casting. When cast, give your Hero an Ability like "Fire Shotgun", based off some targetable, instant spell, like Frost Nova. Using another trigger, detect the firing of the shotgun, and remove that ability from the Hero. Use a Boolean variable to regulate your gun cocking, or you'll end up with 10 "Fire Shotgun" abilities if you "Cock-gun" a lot of times. Maybe give the cock-gun trigger a condition that checks whether the Hero has the Fire Shotgun ability or not.
 
Level 9
Joined
Jun 10, 2004
Messages
594
AzUrE pretty much covered it all; couple more things though:
1) Base your fire ability off Storm Bolt. That way, you'll have a projectile.
2) You could just remove the "Cock Gun" ability if it only has one level, add in the fire ability, and when the fire ability is cast, remove it and add back in the "Cock Gun" ability.

~The_Raven
 
Status
Not open for further replies.
Top