Jump to content
  • 0

Quest NPC = Warp to different Map


awesomazingxed

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  10/24/14
  • Last Seen:  

Can anyone of you guys know how to make a QUEST NPC that if you give the requirements, instead rewarding you items. The NPC will warp you in a different map. Is it possible? Thanks. 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   21
  • Joined:  01/31/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  10/24/14
  • Last Seen:  

OMG Thank you guys. 

Link to comment
Share on other sites

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.

×
×
  • Create New...