Non-Repeatable = No speak
If I assign a task and complete it, the npc goes through the whole text up to the point of assigning the task. If I've already done it, and I don't want to make it repeatable, how do I disable that?
|
put a check point in the script before entire dialog to see if task was completed
|
O... :oops:
|
So I've tried to add
if(!quest::istaskactive(223) && !quest::istaskcompleted(223)) I've added that above the initial hail, and not quite sure how to set that up. I've looked at other code, and they use the taskset along with it, which I don't want to do... Should it be seperate from the event_say section? Code:
sub EVENT_SAY { |
I think (not real strong at quests yet) this is what you want
Code:
sub EVENT_SAY { |
Didn't work, gets disabled w/that script. Tried to move some stuff around, unfortunatly i suck at coded (and spelling ha ha)
|
Could be the my variables are messed up and the parenteses are not matched.
|
I think this should work:
Code:
sub EVENT_SAY { |
Thanks Trev ill check this when I get home. I got the taks down with kls system and the peq editor. I just suck at the quest system and where things go in the script. Task sets I'm sure will be the next issue.
|
yeah the Trev's way is how I would do it.
Not tested thought, I don't have access to my tools atm |
worked perfectly! Thank you Trev!
|
My thanks as well.
|
All times are GMT -4. The time now is 05:54 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.