ID:140774
 
Code:
My Flying Code.
mob
verb
Fly()
set hidden = 1
set category = null
if(usr.doing)
return
if(!usr.flying)
usr.layer += 51
usr.doing=1
usr.frozen = 1
usr.flying = 1
usr.density = 0
usr.icon_state = "takeoff"
usr.pixel_y += 5
sleep(1)
usr.pixel_y += 5
sleep(1)
usr.pixel_y += 5
sleep(1)
usr.pixel_y += 5
sleep(1)
usr.pixel_y += 5
sleep(1)
usr.pixel_y += 5
sleep(1)
usr.pixel_y += 5
usr.overlays += usr.SHADOWTHING
usr.frozen = 0
usr.doing=0
usr.icon_state = "flying"
else
usr.layer -= 51
usr.doing=1
usr.overlays -= usr.SHADOWTHING
usr.frozen = 1
usr.flying = 0
usr.density = 1
usr.icon_state = "takeoff"
usr.pixel_y -= 5
sleep(1)
usr.pixel_y -= 5
sleep(1)
usr.pixel_y -= 5
sleep(1)
usr.pixel_y -= 5
sleep(1)
usr.pixel_y -= 5
sleep(1)
usr.pixel_y -= 5
sleep(1)
usr.pixel_y -= 5
view(usr)<<'step3.wav'
usr.frozen = 0
usr.doing=0
usr.icon_state = ""


Objects Coding.
obj
Pants
Blue_Pants
icon = 'Blue Pants.dmi'
layer = MOB_LAYER + 1
verb/Wear()
set category = null
set src in usr
if(usr.wearing)
usr << "Your wearing a pair of pants already!"
return
usr.overlays += usr.BluePants
usr.wearing = 1
verb/Take_Off()
set category = null
set src in usr
if(!usr.wearing)
usr << "Your not wearing any pants!"
return
usr.overlays -= usr.BluePants
usr.wearing = 0
verb/Delete()
set category = null
del(src)




Problem description:

The pants don't go over my player when I start flying, but they appear when I land and before I takeoff.
Did you check/compare your layer variable(s)?
In response to Schnitzelnagler
Lol, once again the simplest things I overlook held me back.

Thanks alot Schnitzelnagler for all your help :P