PWSetMinLocalIntAndJournalForOpenerParty
Contents |
[edit] PWSetMinLocalIntAndJournalForOpenerParty(string, string, int, int)
Based on opening an object, this function sets a local integer variable for all players in a group, awards XP, and sets a journal entry.
[edit] Parameters
sVarName
The string used to reference the integer on the player character.
sJournalTag
The tag of the journal category (case sensitive).
nState
The value used for the journal entry and local variable.
nExperience
The amount of XP to award to the PC and party members.
[edit] Description
Based on opening an object, this function sets a local integer variable for all players in a group, awards XP, and sets a journal entry.
[edit] Remarks
Attempts to find the player object by calling (in this order): GiveXPToCreature . The XP is only awarded if the local integer was updated.
[edit] Requirements
#include " nw_i0_plotwizard "
[edit] Version
???
[edit] See Also
functions: |
author: Baragg, editor: Mistress