ID:147123
 
This is Vortezz way of doing the multi-tiled thing so i followed it..and i have this...
obj/head
density=0
layer=5

mob
var
obj/head/top
movetimer
Move(Loc)

if(world.time<movetimer) return
movetimer=world.time+5
..()

var/turf/T=locate(src.x + 1,src.y,src.z)
if(T)
top.loc = T
else
top.loc = null


new(Loc)
..()
top = new()

mob
New()
..()
top = New()

now i get 5 errors form that which r.. 2 new(Loc) duplications(no duplicates though)new(Loc) is a intruction not allowed here.. top = new() top undefiend var and empty type name ..() i really dunno whats wrong with these but mabe one of you can help..i also thought mabe where i put the new top blah in my vehicle coding..
mob/Bus/Move()
..()
for(var/mob/M in world)
if(M.vehicle == src)
M.loc = locate(src.x,src.y,src.z)

mob/Move()
if(src.vehicle)
return 0
..()
if(src.client)
for(var/mob/Bus/M in world)
if(M.driver == src)
M.loc = locate(src.x,src.y,src.z)
M.dir = usr.dir
M.Move(locate(src.x,src.y,src.z))

mob/var
driver
maxpassengers = 0
currentpassengers = 0
vehicle = null

mob/Bus
icon='stuff.dmi'
icon_state="1"
New()

..()
top.icon='stuff.dmi'
icon_state="2"
maxpassengers = 1
see_invisible = 100
verb/Hop_In()
Now thats just the main stuff i think u will use...and yes i gave credit for it.
the new(loc) and everything under it is indented wrong, tab it under the Move Proc that might work
In response to N1ghtW1ng
It should also be New(Loc). Cases matter.
In response to N1ghtW1ng
Now i get one error and i've been playing around with it.
    Move(Loc)

if(world.time<movetimer) return
movetimer=world.time+5
..()

var/turf/T=locate(src.x + 1,src.y,src.z)
if(T)
top.loc = T
else
top.loc = null
New(Loc).
..()
top = new()



mob
New()
..()
top = New()
In response to CodingSkillz2
First of all, the period indicated the end of the sentence. It was not supposed to be part of the code. Second, the indentation is still off, and right now, I don't want to instill the belief that indentation is some form of voodoo magic where you have to try things until you get the correct indentation which seems to be randomly determined. I'd suggest reading tutorials again.
In response to CodingSkillz2
you didnt listen...you messed up the Move(Loc) indent...indent everything over one...so it comes out like

mob
proc
Move(Loc)
//blah

and for the mob/New you dont need that and the new() should be New() if im correct according to Garthor
In response to N1ghtW1ng
Still not right. Move() is already defined as a proc, so the proc/Move() is not only redundant, it won't compile.
In response to Garthor
heh i posted when you were posting...

my advice CodingSkillz go with his advice not mine atleast for this...for fooling around with the indents until it worked...didnt work so something is wrong read tutorials about basic things like Garthor said
In response to Garthor
eh forgot that i thought he was creating that proc
In response to N1ghtW1ng
thats a good demo that