Aschbourne_PRC8/_module/nss/_kill_mine_rock.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

21 lines
644 B
Plaintext

void CreatePlaceable(string sObject, location lPlace, float fDuration)
{
object oPlaceable = CreateObject(OBJECT_TYPE_PLACEABLE,sObject,lPlace,FALSE);
if (fDuration != 0.0)
DestroyObject(oPlaceable,fDuration);
}
void main()
{
location lSelf = GetLocation(OBJECT_SELF);
string sSelf = GetResRef(OBJECT_SELF);
float fPause = 1800.0;
object oTemp = CreateObject(OBJECT_TYPE_PLACEABLE,"temporaryplaceho",lSelf,FALSE);
AssignCommand(oTemp,DelayCommand(fPause,CreatePlaceable(sSelf,lSelf,0.0)));
DestroyObject(oTemp,fPause+10.0);
//SendMessageToPC(GetLastKiller(),"For testing purposes, this will respawn in 20 seconds");
}