//:://///////////////////////////////////////////// //:: Name tab_onarea_enter //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* This is a trigger script that should be placed on a trigger around the Modules Start Location. */ //::////////////////////////////////////////////// //:: Created By: Donny Wilbanks Modified by Tab //:: Created On: 7/13/03 //::////////////////////////////////////////////// #include "asg_i_dbplayer" void main() { object oEnteringObject = GetEnteringObject(); if (GetIsPC(oEnteringObject)) { object oPlayer = oEnteringObject; // Tells the game Entering Object is PC object oMOD = GetModule(); string sPDB = GetPCPlayerName(oPlayer); // Individule Player Database Name; string sName = GetName(oPlayer); string CDKey = GetPCPublicCDKey(oPlayer); string sID = GetStringLeft(sName,20); // Indivudual Character Used inside the string sHID = sName+CDKey; // Hcr Style; // ** Add your Custom Information Here, The defualts here are the ones I crafted // * Some mod makers may have alrady used another. So I left it up to you to toss // out what you don't like. The Example in the Readme Docs is at the end of the // function. // Send you a Debug not SendMessageToPC(oPlayer,"Attempting to send player to last known location."); location lLoc = GetCampaignLocation(sPDB,sID+"LastLoc",oPlayer); if (GetCurrentHitPoints(oPlayer)<1) { SendMessageToPC(oPlayer,"(!) Ummmm.... you were dead when you logged.... so.. you're still dead..."); } else { DelayCommand(3.0,AssignCommand(oPlayer,ActionJumpToLocation(lLoc))); } } }