REO-EE/_module/nss/reo_area_enter.nss
Jaysyn904 f82740bbbd Initial commit
Initial commit
2024-02-22 13:22:03 -05:00

20 lines
578 B
Plaintext

void main()
{
object oPC = GetEnteringObject();
object oArea = OBJECT_SELF;
// Temporary Sanctuary Effects
ExecuteScript("sanctuary", oArea);
// Persistent Locations
ExecuteScript("loc_area_enter", oArea);
// Spawn System
ExecuteScript("zss_area_enter", oArea);
// Show map in designated areas
ExecuteScript("show_map", oArea);
// Initialize camera in designated areas.
ExecuteScript("initialize_camer", oArea);
// Save characters
if(GetIsObjectValid(oPC) && GetIsPC(oPC) && !GetIsDM(oPC)) ExportSingleCharacter(oPC);
}