13 lines
239 B
Plaintext
13 lines
239 B
Plaintext
void TurnOffLight()
|
|
{
|
|
PlayAnimation (ANIMATION_PLACEABLE_DEACTIVATE);
|
|
SetPlaceableIllumination (OBJECT_SELF, FALSE);
|
|
RecomputeStaticLighting (GetArea(OBJECT_SELF));
|
|
}
|
|
|
|
void main()
|
|
{
|
|
ActionWait(10.0f);
|
|
TurnOffLight();
|
|
}
|