20 lines
601 B
Plaintext
20 lines
601 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oModule = GetModule();
|
||
|
object oLight1 = GetNearestObjectByTag("3Light13");
|
||
|
object oLight2 = GetNearestObjectByTag("3Light23");
|
||
|
object oLight3 = GetNearestObjectByTag("3Light33");
|
||
|
object oLight4 = GetNearestObjectByTag("3Light43");
|
||
|
object oLight5 = GetNearestObjectByTag("3Light53");
|
||
|
|
||
|
DestroyObject(oLight1, 3.0);
|
||
|
DestroyObject(oLight2, 3.0);
|
||
|
DestroyObject(oLight3, 3.0);
|
||
|
DestroyObject(oLight4, 3.0);
|
||
|
DestroyObject(oLight5, 3.0);
|
||
|
|
||
|
SetLocalInt (oModule, "ThentilThree", 10);
|
||
|
CreateObject(OBJECT_TYPE_PLACEABLE, "3Light13",GetLocation(GetNearestObjectByTag("ThentilZoneThree")));
|
||
|
|
||
|
}
|