# 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
- Beacon Clear Target —
void— PlayerBeaconClearTarget - Beacon Set AutoCast —
void— PlayerBeaconSetAutoCast - Beacon Set Target Point —
void— PlayerBeaconSetTargetPoint - Beacon Set Target Unit —
void— PlayerBeaconSetTargetUnit - Beacon Alert —
void— PlayerBeaconAlert
# Examples
— None found —