Initial upload
Initial upload.
This commit is contained in:
22
_module/nss/ta_gladweapon.nss
Normal file
22
_module/nss/ta_gladweapon.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
// a Corny Script
|
||||
|
||||
#include "NW_O2_CONINCLUDE"
|
||||
|
||||
void RespawnObject(int iType, string sResRef, location lLoc)
|
||||
{
|
||||
CreateObject(iType, sResRef, lLoc);
|
||||
}
|
||||
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
int iType = GetObjectType(OBJECT_SELF);
|
||||
string sResRef = GetResRef(OBJECT_SELF);
|
||||
location lLoc = GetLocation(OBJECT_SELF);
|
||||
|
||||
// 5 minute delay
|
||||
float fDelay = 30.0;
|
||||
AssignCommand(GetModule(), DelayCommand(fDelay, RespawnObject(iType, sResRef, lLoc)));
|
||||
DestroyObject(OBJECT_SELF, 5.0);
|
||||
}
|
||||
Reference in New Issue
Block a user