Newbie Scripter Posted February 11, 2014 Posted February 11, 2014 how do i make an npc move to random towns every 2 hours? can anyone give me a sample? please make it eathena compatible thanks! Quote
StainSky93 Posted February 12, 2014 Posted February 12, 2014 Go check how the guard patrol the map... search at trunk/npc.. Quote
sandbox Posted February 12, 2014 Posted February 12, 2014 (edited) Basically, you can use the event OnHourXX command, then combine it with the 'disable/enablenpc' function. Example.. OnHour10: disablenpc "MyNPC#prontera"; enablenpc "MyNPC#payon"; end; OnHour12: disablenpc "MyNPC#payon"; enablenpc "MyNPC#alberta"; end; Edited February 12, 2014 by sandbox Quote
Question
Newbie Scripter
how do i make an npc move to random towns every 2 hours? can anyone give me a sample? please make it eathena compatible thanks!
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.