Jump to content
  • 1

Warper NPC


Syndicate-Jhay

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  06/23/12
  • Last Seen:  

Can i request a script?

 

about a Room Warper?

 

for example

 

[ NPC Name ]

What can i do for you?

 

Gold Room, Market Room, VIP Room something like that

 

that can warp a Character to their respective location

 

:)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

You can start scripting by your own. NPC that your asking is really really really basic script.

 

https://rathena.org/wiki/Basic_Scripting

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  06/23/12
  • Last Seen:  

thanks, but already done early this 7pm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

// Room Warper
prontera,150,150,4	script	Room Warper	99,{

mes "[Room Warper]";
switch (select("Gold Room:Market Room:VIP Room")) {

case 1:
	warp "prontera",150,150;
	end;

case 2:
	warp "prontera",150,150;
	end;

case 3:
	warp "prontera",150,150;
	end;
	}
}

maybe this can help you?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Hmm, just saying but you forgot the close2;

before the warp.

Else the map server will print something like "wrong use of end; use close; in stead".

End; this way will end the script, but not close the text box.

Regards,

Chris

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