void main() { CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight1", GetLocation(GetWaypointByTag("enginelight13")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight2", GetLocation(GetWaypointByTag("enginelight14")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight3", GetLocation(GetWaypointByTag("enginelight15")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight4", GetLocation(GetWaypointByTag("enginelight16")), FALSE); object oTarget= GetWaypointByTag("enginelight8"); location lTarget= GetLocation(GetWaypointByTag("enginelight8")); SetLocalInt(GetModule(), "MithPowered", GetLocalInt(GetModule(), "MithPowered") +1); object oSound=GetObjectByTag("MES4"); SoundObjectPlay(oSound); }