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
ID:179062
![]() Feb 22 2002, 4:02 am
|
|
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 |
Nova2000 wrote:
src.loc = locate(6,2,1)Try: 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" |
Move(locate(6,2,1))