ZelosAvalon 14 Posted January 9, 2016 (edited) I'm trying to restrict some maps in the NPC Warper, so you can get them only if you do the quest for example: Amatsu 8135 ID from Quest "Fox Expelled" Last part of the Amatsu Dungeon Access Quest this is the line of ama_dun in the npc: Warper D2: if( questprogress(8135)!=2 ) { message strcharinfo(0), "You are not authorized to enter this map."; close; }else{ setarray @c[2],175,186,236,184,188,204; Disp("Amatsu Dungeon",1,3); Pick("ama_dun"); } Edited January 9, 2016 by ZelosAvalon Quote Share this post Link to post Share on other sites
0 frenzmu06 5 Posted April 26, 2016 post it when you're done tnx Quote Share this post Link to post Share on other sites
0 bWolfie 139 Posted April 26, 2016 post it when you're done tnx I guess the easiest way would be to set a variable when the quest is complete. And then just use if and else. Probably more efficient ways to do it, but this is an easy way I've found. // Put this where the quest completes or wherever you want it quest_complete$ = 1; // When you are trying to stop them from warping, something like this if (quest_complete$ == 1) { mes "This is where you can continue the npc talking."; } else { mes "You are not authorized to enter this map!"; close; } Quote Share this post Link to post Share on other sites
0 frenzmu06 5 Posted April 26, 2016 i taught you already finished the whole script and willing to share it Quote Share this post Link to post Share on other sites
I'm trying to restrict some maps in the NPC Warper, so you can get them only if you do the quest
for example:
Amatsu
8135 ID from Quest "Fox Expelled" Last part of the Amatsu Dungeon Access Quest
this is the line of ama_dun in the npc: Warper
Share this post
Link to post
Share on other sites