Well can anyone help me this time with direction procs? i wanted something like this:
mob
Old_Man
icon = 'old_man.dmi'
icon_state = "normal"
Wander()
proc
Wander()
var/wanderproc = rand(1,4)
if(wanderproc == 1)
North()
sleep(10)
Wander()
if(wanderproc == 2)
East()
sleep(10)
Wander()
if(wanderproc == 3)
South()
sleep(10)
Wander()
if(wanderproc == 4)
West()
sleep(10)
Wander()
but the directional procs aren't working for me! it just gives me a warning that says the direction is an "unused label". these procs could make the difference between my noobiest game ever and a work of art, so please explain!
The built in procs are working fine; it's just that you can't code properly. :)
The North(), South() etc procs are CLIENT procs. They're called when the player issues the respective direction command, and aren't even meant to be manually called.
Anyway, you want the atom/movable/Move() proc (NOT client/Move(), mind you).