Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

GiveXPToCreature()

ZephiriusZephirius Member Posts: 100
Having a hell of a time awarding a player with XP.
Tried RewardPartyXP() as well. No luck with either. Never had this problem before?
void main()
{

object oPC = GetPCSpeaker();
if (!GetIsPC(oPC)) return;

if (GetItemPossessedBy(oPC, "GREY_RENDERS_HEAD")!= OBJECT_INVALID)
   {
   AddJournalQuestEntry("Friendly Fire", 2, oPC, FALSE, TRUE);
   GiveXPToCreature(oPC, 100);
   }
}

Comments

Sign In or Register to comment.