Jump to content
  • 0

Simple Warper


Sacul71

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.01
  • Content Count:  25
  • Reputation:   0
  • Joined:  03/03/17
  • Last Seen:  

I would like a teleporter NPC for a map I choose.
EX:

"Hello."

"I am Lukkas, I have created some rooms where it is possible to test their damages."

"I can teleport you there if you wish."

"With which monster you want to test your damage?."

Pharao.
Garm.
Orc Hero
etc....

and if your choosing Pharao will teleport me to pharao_test 50,50
garm for Garm_test 50.50 ... etc ....

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

prontera,150,156,5	script	Simple Warper#HD	99,{

	mes "Hello.";
	mes "I am Lukkas, I have created some rooms where it is possible to test their damages.";
	mes "I can teleport you there if you wish.";
	mes "With which monster you want to test your damage?.";
	
	switch(select("- Pharao:- Garm:- Orc Hero:- Exit"))
	{
		case 1:
			warp "pharao_test",50,50; // Change this warp coordinates
			end;
		case 2:
			warp "garm_test",50,50; // Change this warp coordinates
			end;
		case 3:
			warp "orchero_test",50,50; // Change this warp coordinates
			end;
		case 4:
			close;
	}
}

 

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