world restore is sleep(300) and, if they player got close then the npc wudnt delete
|
but right now idk y...i hadti fixed b4 but now when i go near a npc it crashes again..
|
Perhaps you should take a look at some of the AI demo's in the Resource section. Personally, I would recommend Forum_Account's Enemy AI demo series.
|
How long would you make the respawn time?
If you did this would you ever spawn anything as you would create the mob which would just delete itself because of no player nearby?