HorseSaveToDatabase
From NWN Lexicon
Contents |
[edit] HorseSaveToDatabase(object, string)
Save party horses.
void HorseSaveToDatabase( object oPC, string sDatabase );
[edit] Parameters
oPC
The PC to be saved.
sDatabase
The database name.
[edit] Description
This will save all of the current horse system status for the PC and their henchmen.
[edit] Remarks
This function is provided for use with persistent worlds (PW).
As with all database functions, the script may well need fine-tuning to suit a particular PW.
[edit] Requirements
#include " x3_inc_horse "
[edit] Version
1.69
[edit] Example
// X3_HORSE_DATABASE contains the system default data base name. #include "x3_inc_horse" void main() { object oPC = GetPCSpeaker(); HorseSaveToDatabase(oPC, X3_HORSE_DATABASE); }
[edit] See Also
functions: |
author: Proleric, editor: Mistress