Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
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.

Revision as of 20:13, 3 May 2010

Get the name of the unit which initiated the players summon.

playerName = GetSummonConfirmSummoner()

Returns

playerName
String - Name of the player summoning you, or nil if no summon is currently pending.

Details

The function returns correct results after the CONFIRM_SUMMON event.