Returns whether attempts to target a unit should target its vehicle. The unit can still be targeted: this flag is used to provide a convenience in the default UI for certain cases (such as the Malygos encounter) such that clicking a unit in the raid UI targets its vehicle (e.g. so players can use their drakes to heal other players' drakes).
See also Vehicle functions, Raid functions.
Signature:
targetVehicle
=
UnitTargetsVehicleInRaidUI("unit")
Arguments:
unit
- A unit to query (string
, unitID)
Returns:
targetVehicle
- True if clicking the unit's raid UI representation should target the unit's vehicle instead of the unit itself; otherwise false (boolean
)