Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API CallCompanion

Last wiki revision 2023-05-06

Summons a companion. CallCompanion(type, id)

  • type: - The type of companion to summon or dismiss: "CRITTER" or "MOUNT".
  • id: - The companion index to summon or dismiss, ascending from 1.

The following macro summons the [alphabetically] first mount your character has acquired: /run CallCompanion("MOUNT",1) The following macro summons a random mount your character has acquired: /run CallCompanion("MOUNT", random(GetNumCompanions("MOUNT")))

  • The list of companions is usually, but not always, alphabetically sorted. You may not rely on the indices to remain stable, even if the number of companions is not altered.

Source

https://warcraft.wiki.gg/wiki/API_CallCompanion · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.