name = "Cockpit"
density = 1
layer = MOB_LAYER-1
icon = 'snow.dmi'
icon_state = "mid1"
if(usr.flying == 1)
usr << "<b>You are already flying a plane!"
usr.flying = 1
usr.loc = locate(src.x,src.y,src.z)
usr.icon_state = "above"
usr.overlays += /obj/snow/lwing2
usr.overlays += /obj/snow/rwing2
usr.overlays += /obj/snow/top2
usr.overlays += /obj/snow/bottom2
usr.overlays += /obj/snow/mid22
usr.overlays += /obj/snow/mid32
usr.density = 0
usr.rundelay = 0
usr.health = 300
usr.mhealth = 300
usr.verbs += new/mob/verb/shoot
usr.verbs += new/mob/verb/shootm
usr << "You currently have 5 missles left."
set background = 1
if(src.flying == 1)
if(src.flying == 0)
src.moving = 1
src.moving = 0
I'm trying to make it so i can get in the plane and fly around in it... well i can get that much done but when your in the plane and its using the flying proc it doesn't let me turn the plane.. at all! and then if i shoot a bullet it gets behind me somehow... which either means i made the plane too fast for the bullets or somehow i messed that up but can you help with making the plane turn please? i tried everything i can think of o.o