Mice Posted December 25, 2018 Share Posted December 25, 2018 Hello, how its possible to make monster movement in certain cordinate? example poring monste can move where you want to move it using coordinate thanks Quote Link to comment Share on other sites More sharing options...
0 EIysium Posted December 25, 2018 Share Posted December 25, 2018 Hope this helps: Quote Link to comment Share on other sites More sharing options...
0 Mice Posted December 26, 2018 Author Share Posted December 26, 2018 9 hours ago, EIysium said: Hope this helps: This is unitwarp, its better if the monster will walk in x,y not teleporting it is possible? thank you Quote Link to comment Share on other sites More sharing options...
0 n0tttt Posted December 26, 2018 Share Posted December 26, 2018 I don't know if this will be useful for your or not. - script Monster_Walk -1,{ OnInit: [email protected] = monster("prontera",150,150,"Poring",1002); setarray [email protected][0], 155,150, 155,155, 160,155, 165,160; [email protected] = getarraysize([email protected]); while(true) { unitwalk [email protected],[email protected][[email protected]*2],[email protected][[email protected]*2 + 1]; [email protected] = ([email protected] + 2)%[email protected]; sleep 1200; } end; } 1 Quote Link to comment Share on other sites More sharing options...
0 Mice Posted December 26, 2018 Author Share Posted December 26, 2018 Im not sure where need to put the , or what error in line 5 Quote Link to comment Share on other sites More sharing options...
0 n0tttt Posted December 26, 2018 Share Posted December 26, 2018 Forgot the amount. Just change it to: [email protected] = monster("prontera",150,150,"Poring",1002,1); 1 Quote Link to comment Share on other sites More sharing options...
0 Mice Posted December 26, 2018 Author Share Posted December 26, 2018 Im trying to figure the error, but i dont have clue because i try to trial error, i thinking if the npc will not trace the monster id or what ever Quote Link to comment Share on other sites More sharing options...
0 n0tttt Posted December 26, 2018 Share Posted December 26, 2018 Can you test this one? - script Monster_Walk -1,{ OnInit: monster "prontera",150,150,"Poring",1002,1; [email protected] = [email protected][0]; setarray [email protected][0], 155,150, 155,155, 160,155, 165,160; [email protected] = getarraysize([email protected]); while(true) { unitwalk [email protected],[email protected][[email protected]*2],[email protected][[email protected]*2 + 1]; [email protected] = ([email protected] + 2)%[email protected]; sleep 1200; } end; } 1 Quote Link to comment Share on other sites More sharing options...
0 Mice Posted December 26, 2018 Author Share Posted December 26, 2018 Ok now working thanks again this is my 2nd request you helped me Quote Link to comment Share on other sites More sharing options...
Hello, how its possible to make monster movement in certain cordinate? example poring monste can move where you want to move it using coordinate thanks
Link to comment
Share on other sites