Robotexual
New Member
- Reaction score
- 3
Hey, how can I make it so that if a player presses the X button, his hero shoots out a bullet (and of course if it hits someone it hurts them)?
I want him to shoot in the direction hes facing,Jazradel said:What direction does he shoot the bullet in?
How much damage does the bullet do?
Does it have any special abilitys(crits, bash)?
Anything else?
Thanks! I was stuck on this problem for a while, so I'll give you credit for my map TY again!dArKzEr0 said:Try using a spell that doesnt require a target (such as fan of knives or stomp) and set all of the values to 0. Then create a dummy unit who casts breath of fire in the direction of where the unit is facing, and set the area of effect for breath of fire to 50. Change the animation for it, and set the original spell's hotkey to X.
Cheers
dArKz
Thanks. I was having problems... whenever I pressed x, it would show him shoot out fan of knives. Lol, thanks.dArKzEr0 said:I made a demo-map of the spell if you want it or are having trouble creating it yourself. (Sorry, I'm a bit bored ) Edit the spell as you wish, and I warn you it isn't perfect, but it's a start I guess.