Kariton Revolution Posted August 31, 2013 Group: Members Topic Count: 161 Topics Per Day: 0.04 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Share Posted August 31, 2013 help can anyone do this to me that before you warp to that map u need to finish the npc Requirments examplelevel 2 quest room before you can warp to level2 quest room u need to finish some quest to the npc that will warp you in level2 questroom map like break the seal but this the map before the npc warp you to the level 2 quest room you need to finish the quest first Quote Link to comment Share on other sites More sharing options...
Patskie Posted August 31, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 238 Joined: 09/05/12 Last Seen: April 21 Share Posted August 31, 2013 You can add a check if a certain player finished the first one or not. So something like this : 1. Upon completing the first quest, set a character or account base variable to 1. set Done, 1; 2. Add a check on the warper script and if it comply with the variable Done. Warp that player if ( Done ) warp <map name>,<x>,<y>; Quote Link to comment Share on other sites More sharing options...
Kariton Revolution Posted September 1, 2013 Group: Members Topic Count: 161 Topics Per Day: 0.04 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Author Share Posted September 1, 2013 sir can you make the whole script ? thankyou very much Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 1, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 238 Joined: 09/05/12 Last Seen: April 21 Share Posted September 1, 2013 Try this one : prontera,150,150,0 script Sample 100,{ set .@npc$, "[ " +strnpcinfo(1)+ " ]"; setarray .@id[0], 7227,100,7179,100; // <item id>, <amount> set .@reward, 1604; set .@size, getarraysize(.@id); if ( Done ) { mes "You already finished the quest"; // warp "<map>", <x>, <y>; close; } mes "Requirements : "; for ( set .@j, 0; .@j < .@size; set .@j, .@j + 2 ) mes .@id[.@j+1]+ "x " +getitemname(.@id[.@j]); next; for ( set .@i, 0; .@i < .@size; set .@i, .@i + 2 ) { if ( countitem( .@id[ .@i ] ) < .@id[ .@i + 1 ] ) { mes "You don't meet the requirements"; close; } delitem .@id[.@i], .@id[.@i + 1]; } mes "Done!"; close2; getitem .@reward, 1; set Done, 1; end; } Quote Link to comment Share on other sites More sharing options...
Question
Kariton Revolution
help can anyone do this to me that before you warp to that map u need to finish the npc Requirments
example
level 2 quest room before you can warp to level2 quest room u need to finish some quest to the npc that will warp you in level2 questroom map
like break the seal but this the map before the npc warp you to the level 2 quest room you need to finish the quest first
Link to comment
Share on other sites
3 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.