API C_MountJournal.Summon

From Wowpedia
Jump to: navigation, search

Summons the specified mount.

C_MountJournal.Summon(index)

Arguments

index 
number - the index of the mount, in the range of 1 to C_MountJournal.GetNumMounts() (inclusive), or 0 to summon a random favorite mount appropriate to the current area

Triggers Events

Details

  • If the specified index is out of range, nothing happens.
  • If the player has not yet collected the specified mount, no mount is summoned, and an error message is displayed in the center of the player's screen. The text of the error message is contained in the global variable MOUNT_JOURNAL_NOT_COLLECTED; in English clients, it is "You have not collected this mount."
  • If the specified index is 0, but the player has not marked any mounts as favorites, or does not have any favorite mounts that are appropriate for the current area, the error message "You have no valid favorite mounts." (global variable ERR_MOUNT_NO_FAVORITES) is displayed.
  • If the player cannot fly in the current area, then "appropriate for the current area" only includes ground-only mounts; it does not include flying mounts which can also run on land.

Patch changes

See also