partydensitycentroid
Returns a Vector3 of the most dense area of party members around a given unit of a given range.
partydensitycentroid(unit, range) : Vector3-- altspartyDensityCentroid(unit, range) : Vector3partydensity(unit, range) : Vector3
Example
local partyhealtharoundlowest = parthyhealth(lowest, 30)local partycountlowest = partyaround(lowest, 30) if partycountlowest > 3 and partyhealtharoundlowest <= 60 then local densityCentroid = partydensity(LowestHealth, 30) return cast(Effloresence, lowest):click(densityCentroid.x, densityCentroid.y,densityCentroid.z)end