void main() { CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight1", GetLocation(GetWaypointByTag("enginelight1")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight2", GetLocation(GetWaypointByTag("enginelight2")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight3", GetLocation(GetWaypointByTag("enginelight3")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight4", GetLocation(GetWaypointByTag("enginelight4")), FALSE); object oTarget= GetWaypointByTag("enginelight10"); location lTarget= GetLocation(GetWaypointByTag("enginelight10")); SetLocalInt(GetModule(), "MithPowered", GetLocalInt(GetModule(), "MithPowered") +1); object oSound=GetObjectByTag("MES1"); SoundObjectPlay(oSound); }