PWGiveExperienceParty
From NWN Lexicon
Contents |
[edit] 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 );
[edit] 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.
[edit] Description
Gives or takes the specified amount of experience points (XP) to/from each member of a party.
[edit] 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.
[edit] Requirements
#include " nw_i0_plotwizard "
[edit] Version
???
[edit] See Also
functions: |
author: Baragg, editor: Mistress