///************************************* //* NWN-MySQL 4.0 (c) 2004 FastFrench * //************************************* // This file is licensed under the terms of the // GNU GENERAL PUBLIC LICENSE (GPL) Version 2 // ************************ // ** ff_onenterarea.nss ** // ************************ // ** use this script on the OnEnter event for each AREA // ** or add the instruction: // ** ExecuteScript("ff_onenterarea", OBJECT_SELF); // ** at the beginning of your main function in your existing script #include "ff_include" void main() { if (!FF_USE_EXTERNAL_DATABASE) return; object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; ff_FlushData(oPC); }