Funkybeatz15 Posted September 21, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 10/12/15 Last Seen: March 5, 2021 Share Posted September 21, 2017 Hello, how do i use "checkquest" with a certain char id? Doc: "checkquest(<ID>{,PLAYTIME|HUNTING{,<char_id>}})" Script: "checkquest(1300, PLAYTIME, 150067);" ^- Script is not working (no errors in console) Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted September 22, 2017 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: Friday at 07:27 AM Share Posted September 22, 2017 (edited) checkquest(1300, PLAYTIME); //Example .@Cooldown = checkquest(1300, PLAYTIME); if (.@Cooldown == 2) { mes "[NPC]"; mes "You are still on cooldown please wait for 24 hours"; close; } The Char ID will be the PC who talked to the NPC :)) Edited September 22, 2017 by crazyarashi Quote Link to comment Share on other sites More sharing options...
0 Funkybeatz15 Posted September 22, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 10/12/15 Last Seen: March 5, 2021 Author Share Posted September 22, 2017 Yes, so it's impossible to use checkquest to get the questtatus of a different player? Quote Link to comment Share on other sites More sharing options...
0 llchrisll Posted September 22, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted September 22, 2017 (edited) I think it is, since you can use the char id. But did you try to save the value in an variable or try use mes checkquest since it returns an value, see the example of crazyarashi. Regards, Chris Edited September 22, 2017 by llchrisll Typos... Quote Link to comment Share on other sites More sharing options...
0 Funkybeatz15 Posted September 22, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 10/12/15 Last Seen: March 5, 2021 Author Share Posted September 22, 2017 Yes, this example is okay and works but this is not my aim. I want to get the "questcheck return" for a certain charid, and like crazyarashi said: everytime it use the char id of the player who clicked the npc. Quote Link to comment Share on other sites More sharing options...
0 Funkybeatz15 Posted September 23, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 10/12/15 Last Seen: March 5, 2021 Author Share Posted September 23, 2017 "checkquest(1300, PLAYTIME, 150067);" works well too now the problem was a other function #can be closed Quote Link to comment Share on other sites More sharing options...
Question
Funkybeatz15
Hello,
how do i use "checkquest" with a certain char id?
Doc:
"checkquest(<ID>{,PLAYTIME|HUNTING{,<char_id>}})"
Script:
"checkquest(1300, PLAYTIME, 150067);"
^- Script is not working (no errors in console)
Link to comment
Share on other sites
5 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.