Jump to content
  • 0

Question

Posted (edited)

Hi guys,

 

currently i'm using npc sprite 45 warp to act as a "special warp" that requires people to have certain conditions then only they can pass.

 

Here's what i've done so far, there's no error coming out from the mapserver but the NPC does nothing, my character would move around the warp npc and nothing else. no messages nor warp after passing the requirements

 

 

lunette,28,98,0    script    lun002    45,{
OnTouch:
    if (BaseLevel < 100) {
    mes "I need to be level 100 and above";
    close; }
    else {
    warp "lunette_in",21,12;
    end; }
    }
Edited by ToiletMaster

2 answers to this question

Recommended Posts

Posted (edited)

Use triggers (no need OnTouch for NPC ID 45 with triggers)

 

prontera,160,180,0	script	lun002	45,2,2,{
	if (BaseLevel < 100)
		mes "I need to be level 100 and above";
	else
		warp "prontera",21,12;
	close;
}
Edited by Capuche
  • 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...