so, i use PQJ System as well, heres what i have for the exact thing your asking... it works 100%, just change the things you need to like quest name and state
#include "pqj_inc"
void main()
{
object oPC = GetLastKiller();
if(!GetIsPC(oPC))
{
oPC = GetMaster(oPC); // for pets
}
if(!GetIsPC(oPC))
{
return;
}
object oArea = GetArea(oPC);
object oParty = GetFirstFactionMember(oPC);
while(GetIsObjectValid(oParty)) // make sure they are in the party
{
if(GetArea(oParty) == oArea) //same area check
{
if(RetrieveQuestState("YOUR_QUEST",oParty) == 10) //quest check //10 to your quest state
{
AddPersistentJournalQuestEntry("YOUR_QUEST",20,oParty,FALSE,FALSE,FALSE); //journal update //change the 20 to your quest state
FloatingTextStringOnCreature( "** Your Journal Has Been Updated **", oParty);
CreateItemOnObject("YOUR_HEAD",oParty);
}
}
oParty = GetNextFactionMember(oPC); // finds next member
}
}
hope this helps
'>
edit:
use the line lightfoot8 gave you if you only want one head in the loot sack, mine gives one head to each player in the party, as long as they are in the same map.
Modifié par zero-feeling, 06 septembre 2010 - 04:39 .