ID:143403
 
Code:
mob
Kamehameha
verb
Kamehameha()
set name = "Kamehameha"
set category = "Batle"
if(usr.amount<1)
usr<<"Your ki is too long"
return
if(usr.amount>usr.ki)
usr<<"You dont have enoughf ki"
return
else
usr.Moveing = 0
usr.icon_state="ki"
view(8)<<'sounds/kamehameha_fire.wav'
usr<<"Kame.....Hame....Ha!!!!"
if(usr.dir==SOUTH)
new/obj/KameHameHaTail (locate(usr.x,usr.y-1,usr.z))
new/obj/KameHameHaTail (locate(usr.x,usr.y-2,usr.z))
new/obj/KameHameHaTail (locate(usr.x,usr.y-3,usr.z))
new/obj/KameHameHaTail (locate(usr.x,usr.y-4,usr.z))
new/obj/KameHameHa (locate(usr.x,usr.y-5,usr.z))
sleep(5)
usr.icon_state=""
del src
if(usr.dir==NORTH)
new/obj/KameHameHaTail (locate(usr.x,usr.y+1,usr.z))
new/obj/KameHameHaTail (locate(usr.x,usr.y+2,usr.z))
new/obj/KameHameHaTail (locate(usr.x,usr.y+3,usr.z))
new/obj/KameHameHaTail (locate(usr.x,usr.y+4,usr.z))
new/obj/KameHameha (locate(usr.x,usr.y+5,usr.z))
sleep(5)
usr.icon_state=""
del src


Problem description:

the problem is how i will do the KameHameHa get away then?? help!!!
</1>
1. use the DM tags.
2. the
if(usr.dir = whatever)
tags arent neccessary.
3. Make the energyball spawn first, the be followed by the tails, or is that what you did?

4. Check the Developer FAQ Basic Topics, Volte Answers, and that should help you out. M'Kay?
In response to JaxxMarron
Look up the dir variable and walk().