ID:266715
 
monster
New()
LifeCycle()
proc/LifeCycle()
for(var/mob/M as mob in oview(1))
if(!istype(M,/mob/monster))
attack(M)
spawn(15)LifeCycle()
return
for(var/mob/M as mob in oview(4))
if(!istype(M,/mob/monster))
step_towards(src,M)
spawn(15)LifeCycle()
return
step_rand(src)
spawn(5)LifeCycle()
return
knight
hp = 250
str = 15
def = 30
atkbon = 20
icon = 'kinight.dmi'
these are they errors i got once i fixed the indentations (i think)
DWO Quest.dm:827:error:/mob/monster:undefined type path
DWO Quest.dm:828:error:attack:undefined proc
DWO Quest.dm:832:error:/mob/monster:undefined type path
In response to Aleis
Aleis wrote:
these are they errors i got once i fixed the indentations (i think)
DWO Quest.dm:827:error:/mob/monster:undefined type path
Change this to whatever you monster path is
DWO Quest.dm:828:error:attack:undefined proc
You need to make an attack proc()
DWO Quest.dm:832:error:/mob/monster:undefined type path
Same as #1
In response to Shun Di
for number 2 i already have an attack proc... but ill try those other ones
In response to Aleis
If you still get the #2 error, change the name of your attack proc to match what he has written (remeber procs() are CaSe SeNsItIvE)







Shun Di, Out
In response to Shun Di
they are the same verbs ^_~ i know because i copied the attack proc and pasted it where the attack(M) was....... there is something that is screwed up that i can't find ^_~ should i post my attack proc?
In response to Aleis
YEah post your attack proc.





SHun Di, Out