Initial Commit
Initial Commit [v1.01]
This commit is contained in:
15
_module/nss/greatpump_hb.nss
Normal file
15
_module/nss/greatpump_hb.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
int nIncrement = GetLocalInt(OBJECT_SELF, "DeleteTimer");
|
||||
|
||||
int nTimeSet = nIncrement + 1;
|
||||
SetLocalInt(OBJECT_SELF, "DeleteTimer", nTimeSet);
|
||||
AssignCommand(OBJECT_SELF, PlaySound("as_an_owlhoot"));
|
||||
DelayCommand(3.0, AssignCommand(OBJECT_SELF, PlaySound("as_an_owlhoot2")));
|
||||
if (GetLocalInt(OBJECT_SELF, "DeleteTimer") >= 30)
|
||||
{
|
||||
AssignCommand(OBJECT_SELF, PlaySound("as_mg_telepout1"));
|
||||
DestroyObject(OBJECT_SELF);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user