Funkybeatz15 Posted September 21, 2017 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
0 Funkybeatz15 Posted September 23, 2017 Author Posted September 23, 2017 "checkquest(1300, PLAYTIME, 150067);" works well too now the problem was a other function #can be closed Quote
0 crazyarashi Posted September 22, 2017 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
0 Funkybeatz15 Posted September 22, 2017 Author Posted September 22, 2017 Yes, so it's impossible to use checkquest to get the questtatus of a different player? Quote
0 llchrisll Posted September 22, 2017 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
0 Funkybeatz15 Posted September 22, 2017 Author 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
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)
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.