20 lines
597 B
Plaintext
20 lines
597 B
Plaintext
void main()
|
|
{
|
|
object oModule = GetModule();
|
|
object oLight1 = GetNearestObjectByTag("2Light12");
|
|
object oLight2 = GetNearestObjectByTag("2Light22");
|
|
object oLight3 = GetNearestObjectByTag("2Light32");
|
|
object oLight4 = GetNearestObjectByTag("2Light42");
|
|
object oLight5 = GetNearestObjectByTag("2Light52");
|
|
|
|
DestroyObject(oLight1, 3.0);
|
|
DestroyObject(oLight2, 3.0);
|
|
DestroyObject(oLight3, 3.0);
|
|
DestroyObject(oLight4, 3.0);
|
|
DestroyObject(oLight5, 3.0);
|
|
|
|
SetLocalInt (oModule, "ThentilTwo", 10);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "2Light12",GetLocation(GetNearestObjectByTag("ThentilZoneTwo")));
|
|
|
|
}
|