How can i make NPC's have a set path i found a demo for it ages ago but i forgot what it is called...
please help i know you will :-p
thanks :-D
ID:267653
Aug 10 2003, 9:46 am
|
|
In response to Rifthaven
|
|
thanks
havnt got it working yet but i will soon (i think) thanks :-D |
In response to Mousie_kebabs
|
|
where ever i place them there is inconsistan indentaion
|
In response to Mousie_kebabs
|
|
did you take away the spaces and add the tabs?
|
In response to Rifthaven
|
|
yeah i copied it into my thing starting from the new() cause i got the monster part in all ready and i copied it from byond now here it is
mob/NPC/slime icon = 'monsters.dmi' icon_state = "slime" New() .=..() spawn(1) MovePath() proc/MovePath() step(src,EAST) sleep(20) step(src,NORTH) sleep(20) step(src,NORTH) spawn(20) MovePath() that is just copied and when it is copied from byond it goes strange cause of the tabs (you might know that) that is what it is like in byond |
In response to Mousie_kebabs
|
|
thanks i got rid of the errors by taking away the NPC in mob/NPC/slime part
thanks :-D |
mob/monster
//be sure to have its icon
New()
.=..()
spawn(1) MovePath()
proc/MovePath()
step(src,EAST)
sleep(20)
step(src,NORTH)
sleep(20)
step(src,NORTH)
spawn(20) MovePath()
Hope that helps
<font color=red>Rifthaven