Amon_PRC8/_module/nss/tc_2template.nss

20 lines
597 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
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")));
}