(Added image to describe multiple creatures) |
|||
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
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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
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"