cmsm94 Posted August 12, 2013 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 170 Reputation: 5 Joined: 08/11/13 Last Seen: October 18, 2024 Share Posted August 12, 2013 Hello cmsm94 here, I am requesting a npc that will do the follow: 1, its a npc that will move. 2. if you click that npc and want to know where is this place located forexample weapon shop, it will move to that place. 3. then it will walk back to its original position 4. only a person can use that if he/she have an item which activates the npc. My second request is. A guard npc. Its a poring that move 4 front step and 4 back steps unlimitedly. It is like a infomation npc which moves. Does anyone know? btw is this possible? @>@? bump bump~~ Quote Link to comment Share on other sites More sharing options...
belphegor Posted August 13, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 23 Reputation: 0 Joined: 08/12/13 Last Seen: September 9, 2013 Share Posted August 13, 2013 (edited) Well, say you put. if($walking==1) end; It'll still stop walking. Why not just make the guide warp to the selected location with the player, some npctalk "We're here!"; sleep 3000; npctalk "I better be going now."; movenpc strnpcinfo(0)+", $dx, $dy; Something like that. EDIT: Unless you put in something like if($walking==1) { npctalk "I'm busy."; sleep 3000; npcspeed 1; npcwalkto $x,$y; } And in the main script you put in something like mes "Pick a location."; switch(select("Blacksmith:Rental")) { case 1: { mes "Alright."; close2; set $x, 9999; // real X coords here. set $y, 9999; // real Y coords here. set $walking,1; npcspeed 1; npcwalkto $x,$y; } case 2: { second location here. } Still just a concept though. I'll try this out when i have the time. Well, hopefully someone's taking the time to make one. Edited August 13, 2013 by belphegor Quote Link to comment Share on other sites More sharing options...
1 Emistry Posted August 13, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 12 hours ago Share Posted August 13, 2013 prontera,155,181,5 script Sample 757,{ end; OnInit: npcspeed 200; while( 1 ){ npcwalkto rand( 150,160 ),rand( 175,185 ); sleep 15000; } end; } prontera,155,181,5 script Sample 757,{ if( .location ) end; set .location,select( implode( .map_name$,":" ) ); close2; while( .location ){ npcwalkto .npc_x[.location-1],.npc_y[.location-1]; sleep 5000; getmapxy( .@npc_map$,.@npc_x,.@npc_y,1 ); if( .@npc_x == .coordinate_y[.location-1] && .@npc_y == .coordinate_y[.location-1] ){ npctalk "You reached.."; set .location,0; sleep 3000; break; } } movenpc strnpcinfo(0),.npc_x,.npc_y; end; OnInit: npcspeed 200; getmapxy( .npc_map$,.npc_x,.npc_y,1 ); setarray .map_name$,"Location 1","Location 2","Location 3"; setarray .coordinate_x,150,160,170; setarray .coordinate_y,174,180,160; end; } 1 Quote Link to comment Share on other sites More sharing options...
BugMeNot Posted August 12, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 10/06/12 Last Seen: May 17, 2014 Share Posted August 12, 2013 (edited) · Hidden by Capuche, August 13, 2013 - He asks me to delete so.. Hidden by Capuche, August 13, 2013 - He asks me to delete so.. Oops. Wrong thread. Sorry. Delete my post please. Edited August 12, 2013 by IceTea Link to comment
cmsm94 Posted August 12, 2013 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 170 Reputation: 5 Joined: 08/11/13 Last Seen: October 18, 2024 Author Share Posted August 12, 2013 · Hidden by Capuche, August 13, 2013 - a bump hiden Hidden by Capuche, August 13, 2013 - a bump hiden bump Link to comment
belphegor Posted August 12, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 23 Reputation: 0 Joined: 08/12/13 Last Seen: September 9, 2013 Share Posted August 12, 2013 May be possible. But then again, a lot of bugs might be present like obstruction of npc's path, when npc gets clicked it stops. Quote Link to comment Share on other sites More sharing options...
cmsm94 Posted August 13, 2013 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 170 Reputation: 5 Joined: 08/11/13 Last Seen: October 18, 2024 Author Share Posted August 13, 2013 This is a brilliant idea, can someone help? belphegor how about it is not allow to be click until it reach its destination? Quote Link to comment Share on other sites More sharing options...
Question
cmsm94
Hello cmsm94 here,
I am requesting a npc that will do the follow:
1, its a npc that will move.
2. if you click that npc and want to know where is this place located forexample weapon shop, it will move to that place.
3. then it will walk back to its original position
4. only a person can use that if he/she have an item which activates the npc.
My second request is.
A guard npc.
Its a poring that move 4 front step and 4 back steps unlimitedly.
It is like a infomation npc which moves.
Does anyone know? btw is this possible? @>@?
bump
bump~~
Link to comment
Share on other sites
6 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.