Jump to content
  • 0

Portal where you can select where to go


jherson

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  05/31/20
  • Last Seen:  

Hi,

I need help figuring out how to make my warp portal respond and have it show a dialog box > next > and show choices just like a regular npc.
I started it with another NPC ID but when I change it to 45 (which is the portal), it becomes unresponsive.

My goal is when someone tries to enter the portal, the dialog box will appear and they can select where to go.

 

izlude,52,172,4	script	West Warper	45,{
	mes "[Knewub Warper]";
	mes "Hello there ^FF0000" + strcharinfo(0) + "^000000.";
	mes "Where do you want to go?";
	next;
	switch(select("North:East:South")) {
	case 1: warp "izlude",128,240; end;
	case 2: warp "izlude",197,162; end;
	case 3: warp "izlude",147,56; end;
	}
	end;
}

 

Edited by jherson
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

Try this.

izlude,52,172,4	script	West Warper	45,2,2{
end;
OnTouch:

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  05/31/20
  • Last Seen:  

Thank you so much

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...