SetCampaignJson(string, string, json, object)
From NWN Lexicon
Jump to navigationJump to searchThis stores a json out to the specified campaign database.
Parameters
- sCampaignName
- a campaign database name
- sVarName
- the campaign variable name to use
- jValue
- json to save into the campaign database variable
- oPlayer
- optional player character object to associate with the json campaign variable
Description
This stores a json out to the specified campaign database.
Remarks
The database name:
- is case insensitive and it must be the same for both set and get functions.
- can only contain alphanumeric characters, no spaces.
The var name must be unique across the entire database, regardless of the variable type. If you want a variable to pertain to a specific player in the game, provide a player object.
Version
This function was added in 1.85.8193.31 of NWN:EE.
Example
See Also
functions: |