Amon_PRC8/_module/nss/tc_1template.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("1Light11");
object oLight2 = GetNearestObjectByTag("1Light21");
object oLight3 = GetNearestObjectByTag("1Light31");
object oLight4 = GetNearestObjectByTag("1Light41");
object oLight5 = GetNearestObjectByTag("1Light51");
DestroyObject(oLight1, 3.0);
DestroyObject(oLight2, 3.0);
DestroyObject(oLight3, 3.0);
DestroyObject(oLight4, 3.0);
DestroyObject(oLight5, 3.0);
SetLocalInt (oModule, "ThentilOne", 10);
CreateObject(OBJECT_TYPE_PLACEABLE, "1Light11",GetLocation(GetNearestObjectByTag("ThentilZoneOne")));
}