DoGiveXP
From NWN Lexicon
Contents |
[edit] DoGiveXP(string, int, object, int)
Gives the designated XP to the PC using the design rules for XP distribution.
[edit] Parameters
sJournalTag
The tag of the journal that will be used to obtain the experience amount.
nPercentage
The percentage of the experience that should be given. (100 for 100%)
oTarget
The target to receive the experience.
nQuestAlignment
[edit] Description
Gives the designated XP to the PC using the design rules for XP distribution.
[edit] Remarks
Uses the alignment of the quest in relation to the alignment of oTarget to scale up or down the experience.
This function is also present in the exact same format in both nw_i0_tool . Code duplication verified in version 1.69.
[edit] Requirements
#include " nw_i0_tool "
[edit] Version
1.22
[edit] See Also
constants: |
author: Tom Cassiotis