Newbie Scripter Posted February 11, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 11/25/13 Last Seen: March 6, 2014 Share 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 Link to comment Share on other sites More sharing options...
StainSky93 Posted February 12, 2014 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 104 Reputation: 6 Joined: 01/23/14 Last Seen: March 23, 2014 Share Posted February 12, 2014 Go check how the guard patrol the map... search at trunk/npc.. Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 12, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: March 6 Share 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 Link to comment Share on other sites More sharing options...
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!
Link to comment
Share on other sites
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.