Jump to content
  • 0

Quest NPC = Warp to different Map


Question

3 answers to this question

Recommended Posts

Posted

prontera,123,123,4	script	QuestWarper 123,{
	
	mes "[^0000FFQuest Warper Guy^000000]";
	switch(QuestWarp) {
		default:
			mes "I can warp you if you find me these items!";
			mes "# Item 1";
			mes "# Item 2";
			QuestWarp = 1;
			close;
		
		case 1:
			if(countitem(ITEM 1 ID) >= # && countitem(ITEM 2 ID) >= #) {
				mes "Great! You have the items.";
				select("Warp Me");
				delitem ITEM1ID,#;
				delitem ITEM2ID,#;
				QuestWarp = 2;
				warp "prontera",123,123;
				end;
			} else {
				mes "Bring me the items I asked for!";
				close;
			}
		
		case 2:
			mes "Would you like to warp?";
			select("Yes!");
			warp "prontera",123,123;
			end;
			
	}

}
Something like this?

Replace all the "ITEM ID" and "#" with actual IDs and quantities

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...