PWGiveExperienceParty

From NWN Lexicon
Jump to: navigation, search


PWGiveExperienceParty(object, int)

Gives or takes the specified amount of experience points (XP) to/from each member of a party.

void PWGiveExperienceParty(
    object oPC,
    int nExperience
);

Parameters

oPC

The player character used to reference the others in the party.

nExperience

The amount of experience to award to (or take from) each member of the party.


Description

Gives or takes the specified amount of experience points (XP) to/from each member of a party.



Remarks

Uses SetXP . The amount of XP removed will never result in the player having less than 0 total XP.

nExperience can be 0. It will award each party member 0 XP.


Requirements

#include " nw_i0_plotwizard "


Version

???

See Also

functions: 

SetXP



author: Baragg, editor: Mistress