Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Finds the nearest enemy to the specified position. Returns a null object, if the object group does not know about any enemies (see knowsAbout).

Syntax

Syntax:object findNearestEnemy position
Parameters:
Return Value:Object

Examples

Examples:
_myNearestEnemy = (units _myGroup select 0) findNearestEnemy player

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes