Wowpedia

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

READ MORE

Wowpedia
(Added image to describe multiple creatures)
m (Undo revision 2797438 by Egingell (talk) Upon further inspection, this function appears to be defined before the UI is loaded.)
Line 1: Line 1:
  +
{{wowapi}} __NOTOC__
<br>{{framexmlfunc|Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua|http://wow.go-hero.net/framexml/14809/}} __NOTOC__
 
 
 
 
Returns Boss / Creature info
 
Returns Boss / Creature info
 
id, name, description, displayInfo, iconImage = EJ_GetCreatureInfo(creatureIndex[, encounterID])
 
id, name, description, displayInfo, iconImage = EJ_GetCreatureInfo(creatureIndex[, encounterID])

Revision as of 21:10, 14 October 2011

Returns Boss / Creature info

id, name, description, displayInfo, iconImage = EJ_GetCreatureInfo(creatureIndex[, encounterID])

Arguments

creatureIndex
Number - Creature Index (1 - 6). Encounters mostly have a single "Creature", but can support up to 6 Creatures
encounterID
Number - Encounter ID. If omitted, this will default to the Encounter ID of the currently viewed Encounter
File:EJ GetCreatureInfo 01.png

Creature Name & Creature Description

API EJ GetCreatureInfo 03a

Multiple Creatures

API EJ GetCreatureInfo 02

Encounter Icon

Returns

id
Number - Creature ID
name
String - Creature Name
description
String - Creature Description
displayInfo
Number - Creature Model ID
iconImage
String - Encounter Icon. All Creatures from the same Encounter ID share the same Encounter Icon

Example

Murozond (1 Creature)

/dump EJ_GetCreatureInfo(1, 289)
=> 827, "Murozond", "The Lord of the Infinite", 38931, "INTERFACE\ENCOUNTERJOURNAL\UI-EJ-BOSS-MUROZOND.BLP"

Mannoroth and Varo'then (2 Creatures)

/dump EJ_GetCreatureInfo(1, 292)
=> 913, "Mannoroth", "", 38996, "INTERFACE\ENCOUNTERJOURNAL\UI-EJ-BOSS-MANNOROTH.BLP"

/dump EJ_GetCreatureInfo(2, 292)
=> 914, "Captain Varo'then", "", 39127, "INTERFACE\ENCOUNTERJOURNAL\UI-EJ-BOSS-MANNOROTH.BLP"

Details

  • FrameXML: Blizzard_EncounterJournal.lua L303, L349