Obj:tRequestShipInRangeEvent

From NexusWiki
Revision as of 03:30, 19 June 2009 by LordValarian (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.