LoT_PRC8/_module/nss/lrgwspedt_rportl.nss
Jaysyn904 ec287507a1 Initial upload
Initial upload.
2023-09-25 21:32:17 -04:00

39 lines
1.3 KiB
Plaintext

////////////////////////////////////////////
// Script: lrgwspedt_rportl
// Author: Lord Random
// Date: July 20, 2002
// Version: 1.0
// Copyright (c) 2001 Bioware Corp.
//::::::::::::::::::::::::::::::::::::::::::
// Source(s)
// 1. Lord Random's Gateway-Builder's
// Playground Module
//::::::::::::::::::::::::::::::::::::::::::
// Description
// This script let's the owner of a portal
// know that it has been destroyed and sets
// their local variable to know that fact.
//::::::::::::::::::::::::::::::::::::::::::
// Requirements
// 1. Must be attached to the Placeable Object
// event OnDeath for the Gateway Return Portal.
//::::::::::::::::::::::::::::::::::::::::::
// Notes
//::::::::::::::::::::::::::::::::::::::::::
// Modification History
// Date Who Modifications
// ---------- ------------- ----------------
// 7/20/2002 Lord Random Created script
////////////////////////////////////////////
void main()
{
object oOwner=GetLocalObject(OBJECT_SELF, "LRGWS_Owner");
FloatingTextStringOnCreature(GetName(GetLastKiller())+
" just destroyed your Gateway Return Portal.", oOwner, FALSE);
SetLocalInt(oOwner, "LRGWS_ReturnIsSet", FALSE);
DeleteLocalObject(oOwner, "LRGWS_ReturnObj");
DeleteLocalLocation(oOwner, "LRGWS_ReturnLoc");
}