Changed folder name.
Changed folder name.
This commit is contained in:
23
_module/nss/deathport.nss
Normal file
23
_module/nss/deathport.nss
Normal 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));
|
||||
|
||||
}
|
Reference in New Issue
Block a user