3 day problem please help in Developer Help
|
|
THE 2 LINES do not have spaces in them on my code for some reason when i copy paste this code it shows 2 spaces there???
i been looking at this for 3 days please help
inconsistent indentation but i dont see it.....
trying to make script that gets usr in and out of a truck
PLEASE HELP ME!!
obj/oret1 name = "Old Ore Truck" icon = 'driveables.dmi' icon_state="oret1" density = 1 verb/Get_In() for(var/obj/oret1/G in get_step(src,src.dir)) src.loc=G.loc src.icon=G.icon src.icon_state=G.icon_state G.Move(usr) usr.int = 1 return
verb/Get_out() set src in oview(1) for(var/obj/oret1/T in get_step(src,src.dir)) T.loc=usr.loc T.dir=usr.dir usr.icon='player.dmi' usr.int = 0 return
|
|
Try that. You had an extra space on the two lines after the first for.