Wikia

WoWWiki

Watchlist Recent changes

API UnitPlayerOrPetInRaid

Main Menue



Returns 1 if the unit is in your raid group, nil otherwise.

isTrue = UnitPlayerOrPetInRaid("unit")

Parameters Edit

Arguments Edit

"unit" 
String - unitId who should be checked

Returns Edit

isTrue 
1 or nil

Note: returns nil for player and pet as of 3.0.2

Example Edit

local TargetInRaid = UnitPlayerOrPetInRaid("target")

ResultEdit

TargetInRaid = 1   - If your target is in your raid group.
TargetInRaid = nil - If your target is not in raid group.

Pages on WoWWiki

94,142pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,609photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki