quest::istaskcompleted(taskID) help.
Can anyone please post a working Task related perl Quest code?
I tried to use quest::istaskcompleted(taskID) but no luck. Tasks are working great, but I would like the task giver npc to respond properly depending if the player has or already done the task. any hint on the syntax would be nice. Thank you, Lillu |
An example of it's use is:
Code:
if(quest::istaskcompleted(2004)) { |
Thanks Derision. This works great, besides I don't fully understand how can quest::istaskcompleted(Task_ID) be once a value, once a boolean? :p I might miss something though. But afterall, I got it now, thanks!
Code:
sub EVENT_SAY |
I may be misunderstanding your comment, but quest::istaskcompleted() returns 0 for false and 1 for true, so:
Code:
if(quest::istaskcompleted(20)) { Code:
if(quest::istaskcompleted(20) != 0) { |
thanks a lot, all clear now.
|
All times are GMT -4. The time now is 06:18 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.