ID:179062
 
ok so heres what ive been working on all nigh still cant figure out what im missing

world
name = "academy."
turf = /turf/grass
view = 5

mob
Login()
..()
src.icon_state = input("Choose your carrer path.") in list ("command","medical","security")
src.loc = locate(6,2,1)

please someone help
Treasurecat wrote:
ok so heres what ive been working on all nigh still cant figure out what im missing

world
name = "academy."
turf = /turf/grass
view = 5

mob
Login()
..()
src.icon_state = input("Choose your carrer path.") in list ("command","medical","security")
src.loc = locate(6,2,1)

please someone help

Move(locate(6,2,1))
In response to Skysaw
Skysaw wrote:
Move(locate(6,2,1))

That shouldn't improve anything; setting loc directly is actually more likely to work. Move() does the same thing, but only if certain conditions are met.

Lummox JR
src.loc = locate(6,2,1)
Try:
usr.loc = locate(6,2,1)
In response to Nova2000
Nova2000 wrote:
src.loc = locate(6,2,1)
Try:
usr.loc = locate(6,2,1)

That's even worse. usr should never replace src unless it's absolutely appropriate, as in a verb where src is not the player at all. If setting src.loc in Login() won't work, setting usr.loc won't either.

Lummox JR
Try this code out.

world
name = "academy."
turf = /turf/grass
view = 5

mob/Login()
src.loc=locate(6,4,1)
..()
Menu()

mob/proc/Menu()
switch(input("Career","Career") in list ("command",medic","security")
if("command")
icon='blah.dmi' //replace with real dmi
icon_state="command" //also make sure that is the icon state
if("medic")
icon='blah.dmi'
icon_state="medic"
if("security")
icon='blah.dmi'
icon_state="security"
Try removing the ..()
In response to WizDragon
thanks every one its working now