Radian Posted October 11, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted October 11, 2014 Is it possible to make the npc. Teleport in the map of prontera for example? and random coordinates but it will trigger when someone finish using it? anyone knows about this? if not its ok. thanks! Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 11, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 11, 2014 (edited) try change warp to these while( !checkcell( strnpcinfo(4),( .@x = rand( 1,300 ) ),( .@y = rand( 1,300 ) ),cell_chkpass ) ); movenpc strnpcinfo(0),.@x,.@y; Edited October 11, 2014 by Emistry 2 Quote Link to comment Share on other sites More sharing options...
Yonko Posted October 11, 2014 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted October 11, 2014 finishing what? i didn't get what you mean Quote Link to comment Share on other sites More sharing options...
Radian Posted October 11, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Author Share Posted October 11, 2014 finishing what? i didn't get what you mean Finish using the NPC. Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 11, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 11, 2014 mes "Done talking to NPC"; close2; warp "prontera",0,0; end; add this to your NPC. Quote Link to comment Share on other sites More sharing options...
Radian Posted October 11, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Author Share Posted October 11, 2014 (edited) mes "Done talking to NPC"; close2; warp "prontera",0,0; end; add this to your NPC. I tested it. but the player was the one who got warped. not the NPC Edited October 11, 2014 by Ginji Quote Link to comment Share on other sites More sharing options...
Radian Posted October 11, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Author Share Posted October 11, 2014 (edited) try change warp to these while( !checkcell( strnpcinfo(4),( .@x = rand( 1,300 ) ),( .xy = rand( 1,300 ) ),cell_chkpass ) ); movenpc strnpcinfo(0),.@x,.@y; Thanks, it solved the problem Fixed (is it correct?) .xy changed to .@y Edited October 11, 2014 by Ginji Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 11, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 11, 2014 movenpc only move the npc , change location not hide the npc. Quote Link to comment Share on other sites More sharing options...
Radian Posted October 11, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Author Share Posted October 11, 2014 movenpc only move the npc , change location not hide the npc. Yes. i actually search on wiki about that. but the script you give me was not showing the npc. i tried to change this part .xy into .@y. and it works thanks for your help Quote Link to comment Share on other sites More sharing options...
Talon Posted October 29, 2014 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 78 Reputation: 1 Joined: 09/01/14 Last Seen: October 22, 2016 Share Posted October 29, 2014 (edited) Thanks for this! Been searching for this everywhere.. Finally! You made my day Edited October 29, 2014 by Talon Quote Link to comment Share on other sites More sharing options...
Question
Radian
Is it possible to make the npc. Teleport in the map of prontera for example? and random coordinates but it will trigger when someone finish using it?
anyone knows about this? if not its ok. thanks!
Link to comment
Share on other sites
9 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.