I am also confused. I was just giving "Who said that i" a very simple example of how you can keep quests persistent on their PW. Whether allowing player's to do "the" quest more than once or help someone else do "the" quest or if players get a reward only once or every time, completely depends on the type of quest that you are doing. Perhaps "Who said that i", you could post a specific example of a quest where a player would do it by themselves and get the xp for it and then accept the quest a second time to help someone else but not get any xp for it? What exactly do you mean by helping someone else?
When in a PW if the quests are not set up correctly and one person in the party accepts a quest then all the party members might also get the quest. Is this something you want to happen? Some people like it that way. Some don't. The example scripts I gave you do not give the quest to party members. Only the individual who accepted the quest. And once they finish the quest they can not necessarily do it again but they can still help other players if getting their wolf pelt is too difficult. Thus someone is helping someone else who has the quest...even though they have already done it.
If my new understanding is correct..you want people to be able to accept the quest again and do it but not get anything for finishing it? If that is the case then what would be the point of the player being able to accept the quests again? Unless this would be more like a "killing blow" type quest. Where whoever kills a monster, and has accepted the quest, finishes or moves on to the next node of the quest as soon as they strike the blow. But then you need to figure out if you want the person who killed the monster to only get the xp..or if you want all the party members to get the xp or maybe just the members who are in the same area or maybe just everyone who has accepted the quest and aren't even in the same area. Basically it can get very confusing as to how to do this. And the scripting from one type of quest can vary from one to the other.
What I posted is basically: One person accepts the quest. They alone finish it (unless it's one in which someone else can just help them out, ie kill the wolf that drops the wolf pelt) and get the reward for it. It is now recorded as "done" on the players database item and the npc now only says "thanks for doing the quest."
So now here I am rambling on. Probably causing even more confusion for myself and for the OP. ; )
P.S.
who said that I wrote...
and again...all it gives me are errors
Could you be a bit more specific? All the scripts I posted, except for the one that I left out a line and it was fixed, were free of errors and currenlty in use on our PW.
Xovian wrote...
Maybe it's just me, because I never use "persistent" scripts, but making
quests able to be done more then once, is simple. At the end quest
script where the reward is given, you simply add "set" what ever the
integers name is back to == 0 ...and you can do it again.
This is very true but the OP doesn't want the player to get the reward/xp again. That is where it gets confusing I think.
Modifié par GhostOfGod, 24 août 2010 - 04:57 .