Initial Commit
Initial Commit
This commit is contained in:
9
_module/nss/afterlife_enter.nss
Normal file
9
_module/nss/afterlife_enter.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
#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");
|
||||
}
|
||||
Reference in New Issue
Block a user