Stop SOUTH Movement in Developer Help
|
|
Code:
mob Login() switch(input("What would you like to be?")in list("Ambulance","Pick-Up Truck","Generic Car","Delivery Truck","Van","Roadster","Jeep")) if("Ambulance") usr.icon='icons.dmi' usr.icon_state="Ambulance"
usr.dir=NORTH usr.loc=locate(10,1,1) usr.upproc() proc upproc() usr.y+=1 spawn(2) usr.upproc()
|
Problem description: Is there any way to abolish the use of the down arrow key? (I don't want them to be able to go backwards.) I've messed with the Move() proc, but I can't get it right. Can someone give me a hint?
|
client/South() return 0