Obj:tRequestShipInRangeEvent
From NexusWiki
obj:tRequestShipInRangeEvent(range, mode);
Event request: if a ’mode’ defined ship gets within ’range’ range to ’obj’, than a CO_ShipInRange event is generated. E.shipInRange gives the ship. The event is generated only once, for another observation you have to give the command again. range: 2 - combat, 3 - artillery, 4 – bomber; mode: 1 – own ship, 2 – hostile ship, 3 – hostile, or unidentified ship.