Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
11
_module/nss/light_decay.nss
Normal file
11
_module/nss/light_decay.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
void main()
|
||||
{
|
||||
int myTimer = GetLocalInt(OBJECT_SELF, "TIMER");
|
||||
myTimer = myTimer - 1;
|
||||
if (myTimer < 1)
|
||||
{
|
||||
SetPlotFlag(OBJECT_SELF, FALSE);
|
||||
DestroyObject(OBJECT_SELF, 1.0);
|
||||
}
|
||||
SetLocalInt(OBJECT_SELF, "TIMER", myTimer);
|
||||
}
|
||||
Reference in New Issue
Block a user