partyMembersAround

Returns the number of party members around a unit within a given distance.

partyMembersAround(unit, range) : number
-- alts
partymembersaround(unit, range) : number
party(unit, range) : number

Example

if party(NextRaidBossAOEHitTarget, 30) > 3 then
-- NextRaidBossAOEHitTarget has a lot of units around him, send a chat message saying that they should spread out!
end