API:Event List W
From TheWarWiki
Contents |
WORLD_EVENT_TEXT_ARRIVED
No information available yet: someone should research this event.
WORLD_MAP_POINTS_UPDATED
No information available yet: someone should research this event.
WORLD_MAP_START_UPDATING
No information available yet: someone should research this event.
WORLD_MAP_STOP_UPDATING
No information available yet: someone should research this event.
WORLD_OBJ_COMBAT_EVENT
Fired when a combat event occurs (e.g. Auto attack, ability hit, block, parry, etc.)
Parameters
I suspect these may differ depending on the event, but so far I have seen the following for hit events.
- targetObjNum
- Target of the event (e.g. who was hit, who blocked(?)). The player's object number can be retrieved from GameData.Player.worldObjNum
- eventMagnitude
- How "big" was the event (e.g. how much were they hit by)
- eventType
- What type of combat event occured. This is a number which is one of the values stored in GameData.CombatEvent table.
- eventTrigger
- What cause the event (e.g. spell). This is a number. For your own abilities, GetAbilityData can get a table about this ability. However, pet ability numbers don't match, and monster ability numbers aren't found. Auto attacks are always 0 whether ranged or melee.
- unknown
- Seems to always be 4 for hit events.
Relative Data
- GameData.CombatEvent
- Table which enumerates all of the possible values of eventType.
WORLD_OBJ_HEALTH_CHANGED
No information available yet: someone should research this event.
WORLD_OBJ_INFLUENCE_GAINED
No information available yet: someone should research this event.
WORLD_OBJ_RENOWN_GAINED
No information available yet: someone should research this event.
WORLD_OBJ_XP_GAINED
No information available yet: someone should research this event.
WORLD_RVR_STATUS_UPDATED
No information available yet: someone should research this event.
