void main() { CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight1", GetLocation(GetWaypointByTag("enginelight5")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight2", GetLocation(GetWaypointByTag("enginelight6")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight3", GetLocation(GetWaypointByTag("enginelight7")), FALSE); CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight4", GetLocation(GetWaypointByTag("enginelight8")), FALSE); object oTarget= GetWaypointByTag("enginelight2"); location lTarget= GetLocation(GetWaypointByTag("enginelight2")); SetLocalInt(GetModule(), "MithPowered", GetLocalInt(GetModule(), "MithPowered") +1); object oSound=GetObjectByTag("MES2"); SoundObjectPlay(oSound); }