Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

23
_module/nss/deathport.nss Normal file
View File

@@ -0,0 +1,23 @@
//Put this on action taken in the conversation editor
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
location lTarget;
//Teleport Guild Member back to where they last died.
lTarget = GetCampaignLocation("LOCATIONS", "dth_stored_loc", oPC);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID)
{
FloatingTextStringOnCreature("Location Unavailable", oPC, FALSE);
return;
}
AssignCommand(oPC, ClearAllActions());
AssignCommand(oPC, ActionJumpToLocation(lTarget));
}