GiveXPToAll(object, int)

Gives experience points to each PC in a PC's party

void GiveXPToAll(
    object oPC,
    int nXP
);

Parameters

oPC

Player Character

nXP

experience points to give


Description

Given a PC and an XP value, gives that amount to all PCs of the Player Character's party. None is given to associates.



Remarks

Tip: use with GetJournalQuestExperience (<journal tag>) to get the amount of XP assigned to that quest in the journal.

Include library for party-wide functions.

NOTE: this library is included in "x0_i0_common" already.
Do NOT dual-include both files or you will get errors!


Requirements

#include "X0_I0_PARTYWIDE"

Version

1.61

See Also

categories: Experience Functions | Party Functions


 author: Peter Busby