I am curious how to make a Guard march left 2 spaces, and right 2 spaces, sort of like an area? If anyone can help me, i'd appreciate it.
it's--> mob/guard_novice
icon = 'Guards.dmi'
icon_state = "guard_novice"
ID:178311
May 29 2002, 6:49 am
|
|
In response to Lord of Water
|
|
Thats more info than i needed, i looked your code over and now im going to start on a fresh one, thanks!
-Youza Fo-rappa Branks |
parent_type = /mob
var/movespace = 2 in 1 to 10
var/speed = 3 in 1 to 10
New()
..()
START
var/temp_movespace = movespace
while(temp_movespace)
sleep(11-speed)
step(src,src.dir)
temp_movespace -= 1
turn(src,45)
sleep(11-speed)
turn(src,45)
goto START
novice
speed = 6
movespace = 5
quick
speed = 10
movespace = 10
door_guard
movespace = 1
speed = 1
-Lord of Water