obj
normal
gun
verb
Equip()
if(usr.weapon)
usr << "You are already armed."
else
usr.weapon = "[src]"
usr.verbs += /mob/player/normal/gun/Click
Unequip()
usr.weapon = null
usr.verbs -= /mob/player/normal/gun/Click
mob
player
normal
gun
Click(mob/M)
switch(usr:weapon)
if("Pistol")
sleep(6)
var/obj/munition/Bullet/B = new /obj/munition/Bullet(src.loc)
walk(B,usr.dir)
I need to know how to convert my code so the Click proc does not show up in the verb panel and the bullet shooting system causes the shot to trace the path to the target. I know what I have here is not even close...
Bobthehobo wrote:
What do you mean by not make it show up in the verb panel?