Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
16
_module/nss/eye_portshaft.nss
Normal file
16
_module/nss/eye_portshaft.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
int iEvent = GetUserDefinedEventNumber();
|
||||
if (iEvent == 5555)
|
||||
{
|
||||
PlayAnimation (ANIMATION_PLACEABLE_ACTIVATE, 10.0);
|
||||
SetPlaceableIllumination (OBJECT_SELF, TRUE);
|
||||
RecomputeStaticLighting (GetArea(OBJECT_SELF));
|
||||
}
|
||||
if (iEvent == 7777)
|
||||
{
|
||||
PlayAnimation (ANIMATION_PLACEABLE_DEACTIVATE, 10.0);
|
||||
SetPlaceableIllumination (OBJECT_SELF, FALSE);
|
||||
RecomputeStaticLighting (GetArea(OBJECT_SELF));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user