Navigation menu

WoW:API GetSummonConfirmSummoner: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 2: Line 2:
Get the name of the unit which initiated the players summon.
Get the name of the unit which initiated the players summon.
  playerName = GetSummonConfirmSummoner()
  playerName = GetSummonConfirmSummoner()
== Arguments ==
none


== Returns ==
== Returns ==
;playerName : String - Unit name or nil.
;playerName : String - Name of the player summoning you, or nil if no summon is currently pending.


== Details ==
== Details ==
The function returns correct results after the CONFIRM_SUMMON event.
The function returns correct results after the {{api|t=e|CONFIRM_SUMMON}} event.