Author Topic: PQJ help  (Read 397 times)

Legacy_seventh_son

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +0/-0
PQJ help
« on: September 05, 2010, 05:01:27 am »


               I hope someone else out there runs the PQJ (Persistant Quest Journal system). I am having an issue with it that I cant seem to fix. When a player accepts a quest and is in a party, the whole party receives the quest. does anyone know how to stop it from giving the quest to the entire party...?
               
               

               
            

Legacy_Blasco-Yang

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
PQJ help
« Reply #1 on: September 05, 2010, 05:10:32 am »


               When you call this function from the PQJ system:



void AddPersistentJournalQuestEntry(string szPlotID, int nState, object oCreature, int bAllPartyMembers=TRUE, int bAllPlayers=FALSE, int bAllowOverrideHigher=FALSE);



make certain that the "bAllPartyMembers" parameter is set to FALSE.  It defaults to TRUE.



Hope that helps.
               
               

               
            

Legacy_seventh_son

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +0/-0
PQJ help
« Reply #2 on: September 05, 2010, 05:15:34 am »


               that would be in the Inc file right... I dont remember seeing int in any of the convo scripts so it must be... Thanks for your quick response...
               
               

               
            

Legacy_seventh_son

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +0/-0
PQJ help
« Reply #3 on: September 05, 2010, 05:17:50 am »


               is it just in the one line or is it every line that has the "bAllPartyMember" parameter? cause there are several...
               
               

               
            

Legacy_Blasco-Yang

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
PQJ help
« Reply #4 on: September 05, 2010, 05:36:12 am »


               I wouldn't make any changes to the include file itself.  



Wherever you are calling the function:  "AddPersistentJournalQuestEntry" in this particular instance, you would merely set that parameter to FALSE.



There may be other situations where you would actually want to add the journal entry to all party members after all.
               
               

               
            

Legacy_seventh_son

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +0/-0
PQJ help
« Reply #5 on: September 05, 2010, 05:38:08 am »


               ok... that makes perfect sense... Thank you very much

               
               

               
            

Legacy_seventh_son

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +0/-0
PQJ help
« Reply #6 on: September 05, 2010, 05:42:47 am »


               hhhmmmmm.... None of the scripts in the convos have that line in them... any ideas?
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
PQJ help
« Reply #7 on: September 05, 2010, 05:45:51 am »


               I recently made a DM tool for editing the PQJ quests that are already on the PC.   It required modifications to the original include file.  So the download is basicly a replacement package.  If you neen to remove some of the quests from players while they are online, you can download the pakage with the edtor at the link below.
http://social.biowar...ect/3342/#files
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
PQJ help
« Reply #8 on: September 05, 2010, 05:52:32 am »


               The line in the convo action take script should look something like.



AddPersistentJournalQuestEntry("KDragon",1,oPC);



You will want to add the false paramater to it like Blasco sugested to make it look like



AddPersistentJournalQuestEntry("KDragon",1,oPC,FALSE);



If you opened the script editor you could just do a search for AddPersistentJournalQuestEntry and just change all of them that are not in the PQJ_INC file.  

               
               

               
            

Legacy_seventh_son

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +0/-0
PQJ help
« Reply #9 on: September 05, 2010, 05:56:18 am »


               thanks I will try that

               
               

               
            

Legacy_seventh_son

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +0/-0
PQJ help
« Reply #10 on: September 05, 2010, 06:01:31 am »


               how about on a line like this? how would I make it false..?



 AddPersistentJournalQuestEntry("TUTORQUEST",1,GetPCSpeaker());
               
               

               
            

Legacy_GhostOfGod

  • Hero Member
  • *****
  • Posts: 1490
  • Karma: +0/-0
PQJ help
« Reply #11 on: September 05, 2010, 06:06:42 am »


               AddPersistentJournalQuestEntry("TUTORQUEST",1,GetPCSpeaker(), FALSE);
               
               

               
            

Legacy_seventh_son

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +0/-0
PQJ help
« Reply #12 on: September 05, 2010, 06:07:48 am »


               you guys make it look so simple... Thanks very much I will try these out right now