Files
Anphillia_PRC8/_module/nss/eye_portshaft.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

17 lines
453 B
Plaintext

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));
}
}