Noctis Posted June 23, 2017 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 226 Reputation: 13 Joined: 02/17/15 Last Seen: August 2, 2017 Share Posted June 23, 2017 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? Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted June 23, 2017 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 21 hours ago Share Posted June 23, 2017 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; } Quote Link to comment Share on other sites More sharing options...
0 Noctis Posted June 23, 2017 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 226 Reputation: 13 Joined: 02/17/15 Last Seen: August 2, 2017 Author Share Posted June 23, 2017 (edited) 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 June 23, 2017 by Noctis Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted June 23, 2017 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 21 hours ago Share Posted June 23, 2017 Just change the name " yourVariable " to anything else like " warpQuest01 " 1 Quote Link to comment Share on other sites More sharing options...
0 Noctis Posted June 23, 2017 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 226 Reputation: 13 Joined: 02/17/15 Last Seen: August 2, 2017 Author Share Posted June 23, 2017 1 hour ago, TARTs said: Just change the name " yourVariable " to anything else like " warpQuest01 " thx Quote Link to comment Share on other sites More sharing options...
Question
Noctis
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.