PWSetMinLocalIntAndJournalForItemAcquired
Contents |
[edit] PWSetMinLocalIntAndJournalForItemAcquired(string, string, int, string, int)
Based on acquiring an item, 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.
sItemTag
The tag of the item used to check against for journal updates.
nExperience
The amount of XP to award to the PC and party members.
[edit] Description
Based on acquiring an item, this function sets a local integer variable for all players in a group, awards XP, and sets a journal entry.
[edit] Remarks
Persistent worlds beware! This function uses 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