Jump to content
  • 0

Leveling Zone NPC(Warp players to suggested maps)


Question

Posted

Hi, I'd like to implement an NPC like mentioned above. For example, the selection "Levels 1-10" would give the option of, say, prt_fild08. 10-30, pay_dun00 OR Culvert. A waper with a more specific set of warp options.

Can it be done? Will you lend a hand? Thanks!

2 answers to this question

Recommended Posts

Posted (edited)

Of course this can be done.

You can refer to a player's Base Level with this variable:

BaseLevel

So just do some ifs about that:

if (BaseLevel <= 10) {
     switch(select("Payon Field 1:Payon Field 3"){
          case 1:
               warp pay_fild01,0,0;
               break;
          case 2:
               warp pay_fild03,0,0;
               break;
     }
}
else if (BaseLevel <= 30){
     ...
}
else if ...

Edit: Just noticed this is the request not the support section. Sorry but I do not have the time you write you the whole script. Just try it yourself, it's a good practice and really easy.

Edited by Yuka
Posted

if you're using toastofdoom's warper , you can set baselevel limitation for each map.

eventually you can create a custom menu with specific level limitation.

 

i tried this idea in toastofdoom's warper. =)

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