mob/monster/
Imp
icon = 'Monster Icons.dmi'
Health = 15
Strength = 6
Defense = 4
Exp = 20
Gold = 5
Bumped(O)
if(usr.islocked == 1)return
usr.islocked=1
usr.loc=locate(src.x-2,src.y,src.z)
usr.dir = 6
src.dir = 4
Battle()
New()
src.Look()
islocked = 0
Move()
if(islocked == 1)
return 1
mob
proc
Look() //name of proc
var/mob/Player/M //variable M has to be mob/usr
while(src) //while src is stil kickin
if(M in oview(5)) //if M is in oview(5)
walk_to(src,M,1,4) //src walks to M until 1 block away, moving 4/10ths of a second
if(M in oview(1)) //if M is in oview(1)
step_towards(src,M) //src steps toward M
else //if usr.name isnt in src.killlist
sleep(15)//pauses for 1 and 1/2 seconds
step_rand(src) //step randomly on the field
break //breaks out of the while loop
else //if M isnt in oview(5)
step_rand(src)
for(M in view(src)) //for all Ms in view(src)
break //breaks out of the while loop
sleep(5) //pauses 1/2 second before redoing loop
spawn(2) // pauses 2/10 of second before redoing proc
Look() //redoes proc
Its not running the look proc.
ID:268143
Mar 23 2004, 8:37 pm
|
|
Mar 23 2004, 8:41 pm
|
|
That's the old version of the tutorial. It's bad. Go download it again.
|
In response to Garthor
|
|
k thanks. Could ya look at me other post?
|
In response to Kasumi Tomonari
|
|
Uhh still nothing x.x
|
In response to Kasumi Tomonari
|
|
You shouldn't be using usr in any of your procs.
|