10 lines
346 B
Plaintext
10 lines
346 B
Plaintext
#include "x4_inc_functions"
|
|
void main()
|
|
{
|
|
//Set this place as the PC's spawn point
|
|
object oPC = GetEnteringObject();
|
|
if (!GetIsPC(oPC)) return;
|
|
string sLastTown = GetCampaignString(CharacterDB(oPC), "TOWN_SPAWN");
|
|
if (sLastTown != "WP_AREA_AFTERLIFE") SetCampaignString(CharacterDB(oPC), "TOWN_SPAWN", "WP_AREA_AFTERLIFE");
|
|
}
|