Obj:tRequestNoShipsInRangeEvent

From NexusWiki
Jump to: navigation, search

obj:tRequestNoShipsInRangeEvent(range, mode);

Event request: if everything gets to ’range’ range from ’obj’, than a ’mode’ defined ship, CO_NoShipsInRange 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.