ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [outdated] Request for Objective Control State (https://www.esoui.com/forums/showthread.php?t=6735)

Enodoc 01/11/17 03:47 PM

[outdated] Request for Objective Control State
 
EVENT_OBJECTIVE_CONTROL_STATE, specifically when
Lua Code:
  1. controlEvent == OBJECTIVE_CONTROL_EVENT_AREA_NEUTRAL
The param1 and param2 for this control state currently return 0. Please endeavour to add the alliance capturing the objective as a return for param1 and the alliance losing the objective as param2. Thanks!

Enodoc 05/17/17 12:10 PM

I don't suppose this happened as a result of the changes from the implementation of battlegrounds? It would be useful to know which factions are in play when a flag hits neutral.

ZOS_ChipHilseberg 05/17/17 02:31 PM

You can probably reconstruct it by storing the last owner and using GetCaptureAreaObjectiveLastInfluenceState for the next owner.

Enodoc 05/21/17 12:04 PM

Yeah that could work, thanks! I guess returning the alliances directly on AREA_NEUTRAL is not trivial, then? (Presumably the very fact that the event is "neutral" means that the game doesn't actually know what the alliances are?)

ZOS_ChipHilseberg 05/22/17 08:05 AM

That is correct.


All times are GMT -6. The time now is 07:13 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI