AngelAC
New member
Hello guys!, i hope you are doing well.
Recently i was reworking on my mod and i need some little help :v. Some enemies launch a kind of "explosive shoots" but honestly i don't now how to make it, so it's like a bullet that is launched as a "knife", here is the code:
But i need that when it hits the player or an obstacle, it explodes, iow plays the attack animation of the explosion, i already tried to make an attack animation in the "shoot" but it didn't worked so i guess is not the proper way. So if you know a proper way or easier way to do it, it will be very helpfull, thank you so much in advance.
Recently i was reworking on my mod and i need some little help :v. Some enemies launch a kind of "explosive shoots" but honestly i don't now how to make it, so it's like a bullet that is launched as a "knife", here is the code:
Code:
anim attack
loop 0
delay 7
range 30 123
bbox 8 9 32 33
offset 21 43
sound Data/sounds/plasmapistolshoot2.wav
@cmd projectile 1 "fuel_shoot" 2 0 14 1 0
frame Data/chars/grunt/grunt_cannon/attack.png
But i need that when it hits the player or an obstacle, it explodes, iow plays the attack animation of the explosion, i already tried to make an attack animation in the "shoot" but it didn't worked so i guess is not the proper way. So if you know a proper way or easier way to do it, it will be very helpfull, thank you so much in advance.