HorseSaveToDatabase

From NWN Lexicon


Contents

[edit] HorseSaveToDatabase(object, string)

Save party horses.

[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: 

HorseReloadFromDatabase



author: Proleric, editor: Mistress

Personal tools
Categories