kevo89 Posted February 29, 2020 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 24 Reputation: 1 Joined: 06/27/14 Last Seen: November 8, 2023 Share Posted February 29, 2020 Hola que tal buen día me gustaría saber si me pueden apoyar con un script ejemplo de un poring que se mueva en ciertas cardenas de prontera pero que nadie lo pueda matar o apuntar y que se esté paseando en un rango en específico como adorno, como si fuera npc pero con Sprite de mob sin que lo puedan matar etc Quote Link to comment Share on other sites More sharing options...
Serken Posted February 29, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 45 Reputation: 3 Joined: 10/06/13 Last Seen: 9 hours ago Share Posted February 29, 2020 Simplemente ponle el sprite de Poring en vez de algun NPC, luego pon las coordenadas por donde quieras que se mueva pero sin que ejecute ningun script al clicarlo y no saldrá nada cuando clikes pero irá moviendose Quote Link to comment Share on other sites More sharing options...
kevo89 Posted March 1, 2020 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 24 Reputation: 1 Joined: 06/27/14 Last Seen: November 8, 2023 Author Share Posted March 1, 2020 gracias algun ejemplo? Quote Link to comment Share on other sites More sharing options...
Angeluz Posted March 22, 2020 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 109 Reputation: 19 Joined: 07/28/12 Last Seen: 4 hours ago Share Posted March 22, 2020 Intenta con algo así - script poring_walk -1,{ end; OnInit: npcspeed 100; initnpctimer; end; OnTimer4000: getmapxy .@map$, .@x, .@y, BL_NPC; set .@curX, callfunc("rent_aliceXY",.@x,46,61); set .@curY, callfunc("rent_aliceXY",.@y,54,73); npcwalkto .@curX, .@curY; initnpctimer; end; } prontera,153,155,3 duplicate(poring_walk) Poring#gm 1002 function script rent_aliceXY { set .@CP, getarg(0); // Present position XoY set .@DST, rand(1,5); // Distance to cross if (rand(2)) // Direccion a tomar (izq der arr abj) set .@CP, .@CP + .@DST; else set .@CP, .@CP - .@DST; if (.@CP < getarg(1)) set .@CP, .@CP + .@DST; // If the new point is smaller, thats the minimum if (.@CP > getarg(2)) set .@CP, .@CP - .@DST; // If the new point is greater, thats the maximum return .@CP; } 1 Quote Link to comment Share on other sites More sharing options...
kevo89 Posted March 25, 2020 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 24 Reputation: 1 Joined: 06/27/14 Last Seen: November 8, 2023 Author Share Posted March 25, 2020 muchas gracias lo tomare en cuenta Quote Link to comment Share on other sites More sharing options...
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.