Skip to content

GiveXPToCreature()

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

  • ZephiriusZephirius Member Posts: 411
    It's working fine now. Not sure what I did... :)
  • ForSeriousForSerious Member Posts: 446
    I have not had the problem with EE, but in the old version, I used to hit a point after a few hours where none of my changes would work. Restarting the toolset or the computer would make everything work again.
Sign In or Register to comment.