GHI_Emote

Pilus edited this page Aug 11, 2015 · 2 revisions
Clone this wiki locally

Syntax:

GHI_Emote(text, delay, target[, evtManualItemGuid])

Arguments:

GHI_Emote has 1 required argument and 3 optional arguments.


text
''(String)''
This is the text of your emote.
delay [optional]
''(Number)''
This is the time you wish to delay the emote by counted in seconds.
target [optional]
''(String)''
This is automatically supplied by the game client. It uses your currently targeted unit as the receiver of your standard emote.
evtManualItemGuid [optional]
''(String)''
If you wish the item to use another item as the target for the %L variable then enter it here.

Aliases:

  • GHI_DoEmote()
  • emote()
  • DoEmote()

Example:

GHI_Emote(""wave"",0);

This script should cause you to wave.

if UnitExists(""target"") then

`GHI_Emote(""waves eagerly at %t."",5);`

else

`GHI_Emote(""waves eagerly."",5);`

end

This script checks if you are targeting then does a custom emote after a wait of 5 seconds.

GHI_Emote(""presses a few buttons on his %L"")

This script will replace %L with the item's name and do this emote with no delay.