Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
→ WoW API
Returns whether you can RaF summon a particular unit.
summonable = CanSummonFriend("unit")
- String (UnitId) - player to check whether you can summon.
- Flag - 1 if you can summon the unit using RaF, nil otherwise.
The snippet below checks whether you can summon the target, and, if so, whispers and summons her to you.
local t = "target"; if CanSummonFriend(t) then SendChatMessage("I am summoning you!","WHISPER",nil,t) SummonFriend(t) end