# Beacon Get Target Unit

FlagsNative | Function

Gets the target unit of the specified beacon, if there is one.

# Arguments

Returns — unit

native unit PlayerBeaconGetTargetUnit(
	int inPlayer,
	int inBeacon,
);

Category: AI Advanced / Beacons / Functions

# Examples

— None found —