Jump to content
  • 0

Make a quest before can enter in the map


Noctis

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   13
  • Joined:  02/17/15
  • Last Seen:  

So I have a mining map, and I have an npc that warps players to that map, how to make that the npc only warps the players that have done a quest that I created, before can enter?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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

prt_fild05,315,183,3    script    Warp Man   635,{
    if(yourVariable==1){
        warp "prontera",26,203;
        end;
    }
    mes "Hello you cannot warp now.";
    close;
}
prt_fild05,317,183,3    script    Warp Quest   635,{
    if(yourVariable==0){
        mes "You can warp now talk with Warp Man.";
        set yourVariable,"1";
        close;
    }
    mes "Hello, Good to see you again.";
    close;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   13
  • Joined:  02/17/15
  • Last Seen:  

5 hours ago, TARTs said:

prt_fild05,315,183,3    script    Warp Man   635,{
    if(yourVariable==1){
        warp "prontera",26,203;
        end;
    }
    mes "Hello you cannot warp now.";
    close;
}
prt_fild05,317,183,3    script    Warp Quest   635,{
    if(yourVariable==0){
        mes "You can warp now talk with Warp Man.";
        set yourVariable,"1";
        close;
    }
    mes "Hello, Good to see you again.";
    close;
}

 

What I need to put in the variable? I'am really horrible with variables yet lol

Edited by Noctis
Link to comment
Share on other sites

  • 0

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

Just change the name " yourVariable " to anything else like " warpQuest01 "

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   13
  • Joined:  02/17/15
  • Last Seen:  

1 hour ago, TARTs said:

Just change the name " yourVariable " to anything else like " warpQuest01 "

thx :D

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