# Beacon Set Target Unit
Flags —
Native
|Action
Sets the target for the specified beacon to be the specified unit.
# Arguments
int
— Playerint
[ preset::AIBeaconType ] — Beaconunit
— Unitbool
— Alert
Returns — void
native void PlayerBeaconSetTargetUnit(
int inPlayer,
int inBeacon,
unit inUnit,
bool alert,
);
# Related
Category: AI Advanced / Beacons / Actions
- [F] —
void
— Beacon Clear Target — ( PlayerBeaconClearTarget ) - [F] —
void
— Beacon Set AutoCast — ( PlayerBeaconSetAutoCast ) - [F] —
void
— Beacon Set Target Point — ( PlayerBeaconSetTargetPoint ) - [F] —
void
— Beacon Set Target Unit — ( PlayerBeaconSetTargetUnit ) - [F] —
void
— Beacon Alert — ( PlayerBeaconAlert )
# Examples
— None found —