The proc Errors i Get In Dream Deamon
runtime error: undefined variable /mob/player/Human/var/elevation
proc name: Enter (/turf/Enter)
source file: Shuttle.dm,96
usr: the pusher (/mob/pusher)
src: (175,145,8) (/turf/Tatoonie/Desert)
call stack:
(175,145,8) (/turf/Tatoonie/Desert): Enter(the pusher (/mob/pusher))
the pusher (/mob/pusher): Move( (175,145,8) (/turf/Tatoonie/Desert), 4)
the pusher (/mob/pusher): Move( (175,145,8) (/turf/Tatoonie/Desert), 4)
the pusher (/mob/pusher): Move( (175,145,8) (/turf/Tatoonie/Desert), 4)
push2(Gaheris Rhade (/mob/player/Human), Gaheris Rhade (/mob/player/Human))
Gaheris Rhade (/mob/player/Human): Push()
Enter(atom/a)
if(istype(a,/mob))
var/mob/m = a
if(m.move_IsFlying()&&!flight_dense) return 1
if(m.move_IsPasswall()) return 1
if(m.loc)
if(elevation == m.loc:elevation)
if(m.move_standingon)
var/obj/bridge/b2 = m.move_standingon
if(b2.elevation == elevation)
return 1
else
var/obj/bridge/b = GetBridge(b2.elevation)
if(b)
return 1
return 0
else
return ..()
else
if(elevation == m.loc:elevation +0.5||elevation == m.loc:elevation -0.5)
return ..()
if(m.move_standingon)
var/obj/bridge/b2 = m.move_standingon
if(b2.elevation == elevation)
return 1
else
var/obj/bridge/b = GetBridge(b2.elevation)
if(b)
return 1
var/obj/bridge/b = GetBridge(m.loc:elevation)
if(b)
m.move_StandOn(b)
return 1
return 0
return ..()
obj/bridge
var/elevation = 1
Problem description: im not 100% sure how too fix it this is probably me just being an old school coder but if any of you can give me a working edit of it so i can copy and paste it back into the DM file i'd be Greatly Appreciated if you need too contact me you can Page me or msn me at [email protected]
thanks for Everyones Time
Also, all of that proc which is not directly related to returning 1 or 0 or ..() should go in Entered(), not Enter().