Tukaram
Member
I am working on a quest and wanted to add a quest tag, so it could only be done once. The problem I am having is that the OnDragDrop has 4 different items you can drop, to get one of 4 rewards (each item determines the reward). There is a selection gump at the beginning of the quest, where you select one of 4 monster spawning items. A simple gump with 4 buttons. I tried adding the quest tag to the gump, so you could only ever select one summoner. I was trying to have the gump button look for the tag. I had no luck (account got tagged, but still allowed more selections).
Anyway, I gave up on that and moved to the OnDragDrop on the QuestGiver.
Same problem. The account flags (I used a new tag name to be sure). But you can complete the quest as many times as you want. The reward OnDragDrop is an 'else if' for each monster head you can drop. I tried putting the tag check above the if/else statement to skip the reward if you have the flag. I could not get it to work. So I tried moving it to each of the 4 reward portions of the 'else if'... no joy.
I remarked out the 4 tag checks, and went back to just one... still nothing. As is, the script loads, the account gets tagged, but the tag does nothing. I copied the tag syntax from another quest that does work correctly, but the nested reward is messing with me, I guess.
Anyone good with quest account tags? Am I close? I have spent an embarrassing amount of time on this ha ha
Anyway, I gave up on that and moved to the OnDragDrop on the QuestGiver.
Same problem. The account flags (I used a new tag name to be sure). But you can complete the quest as many times as you want. The reward OnDragDrop is an 'else if' for each monster head you can drop. I tried putting the tag check above the if/else statement to skip the reward if you have the flag. I could not get it to work. So I tried moving it to each of the 4 reward portions of the 'else if'... no joy.
I remarked out the 4 tag checks, and went back to just one... still nothing. As is, the script loads, the account gets tagged, but the tag does nothing. I copied the tag syntax from another quest that does work correctly, but the nested reward is messing with me, I guess.
Anyone good with quest account tags? Am I close? I have spent an embarrassing amount of time on this ha ha