[implemented] Events for dark anchor and dark fissure completed
Currently there is the EVENT_EXPERIENCE_GAIN which has this two event codes.
This events are only triggered on the first time a dark anchor or dark fissure has been completed (black POI) It would be nice to have an event that triggers at every completed dark anchor or dark fissure like EVENT_DARK_ANCHOR_COMPLETED and EVENT_DARK_FISSURE_COMPLETED. I tried to achieve this with many approches but i don't come to an acceptable result in the ESO-Database Export addon. It would be nice if such an event could be added to the game. Thanks! Keldor |
Have you tried hooking the world events?
https://wiki.esoui.com/Events#World_Events Dolmens presumably(i could certainly be wrong) are a world/region event, maybe there's some information passed along during those events you can use to determine dolmen (dark anchor) events specifically. |
Quote:
|
Quote:
|
I want to share my current solution for this request. Thanks to votan who sent me some code snippets from his AddOn that I could use as base for my solution! :)
I'm now using the EVENT_EXPERIENCE_GAIN event in combination with the following code. Lua Code:
|
Update32
As previously announced, starting with Update 32,
you can use ESOUI to get notifications of the start and end of Dark Anchor world events. I have confirmed this with PTS 7.2.0. The following notifications are made in line with the Dark Anchor world event. Activation: (1)EVENT_WORLD_EVENT_ACTIVE_LOCATION_CHANGED (2)EVENT_WORLD_EVENT_ACTIVATED Deactivation: (1)EVENT_WORLD_EVENT_DEACTIVATED The dark anchor seems to be assigned a unique worldEventInstanceId for each zone, and as you know, the POI where the dark anchor is activated will change each time. If the player is in the same zone, the poiIndex of the active dark anchor can be determined by passing the worldEventInstanceId notified by the event as an argument to GetWorldEventPOIInfo(). Note that if you have already obtained the database of poiIndex of the dark anchor, you can use GetPOIWorldEventInstanceId(). Only the active dark anchor will return worldEventInstanceId as the return value. Inactive dark anchors will return 0 as now. Congratulations. - Calamath |
All times are GMT -6. The time now is 01:44 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI