Returns whether a unit is in same battleground instance as the player
See also Unit functions, Battlefield functions.
Signature:
raidNum = UnitInBattleground("unit")
Arguments:
unit- A unit to query (string, unitID)
Returns:
raidNum- Numeric portion of the unit'sraidunitID(e.g. 13 forraid13) (number)