# Beacon Set Target Unit

FlagsNative | Action

Sets the target for the specified beacon to be the specified unit.

# Arguments

  • int — Player
  • int [ preset::AIBeaconType ] — Beacon
  • unit — Unit
  • bool — Alert

Returns — void

native void PlayerBeaconSetTargetUnit(
	int inPlayer,
	int inBeacon,
	unit inUnit,
	bool alert,
);

Category: AI Advanced / Beacons / Actions

# Examples

— None found —