ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [implemented] Improve EVENT_ALLIANCE_POINT_UPDATE (https://www.esoui.com/forums/showthread.php?t=6502)

Ayantir 09/07/16 12:05 PM

[implemented] Improve EVENT_ALLIANCE_POINT_UPDATE
 
EVENT_ALLIANCE_POINT_UPDATE (integer eventCode, number alliancePoints, boolean playSound, number difference, number reasonType)

reasonType =
  1. ALLIANCE_POINTS_REASON_PLAYER = When you gain Alliance points by a gain on an ennemy player (killing participation)
  2. ALLIANCE_POINTS_REASON_ATTACK_TICK = When you gain Alliance points by a gain on a attack Tick (you just captured a flag).
  3. ALLIANCE_POINTS_REASON_DEFENSE_TICK = When you gain Alliance points by a gain on a defense tick (you just defended a flag).
  4. ALLIANCE_POINTS_REASON_QUEST = When you gain Alliance points by validating a quest.

PS : ALLIANCE_POINTS_REASON_BATTLEGROUND_OBJECTIVE :)

sirinsidiator 09/07/16 12:34 PM

That would be great. Maybe you could also pass the character name when reasonType is ALLIANCE_POINTS_REASON_PLAYER.

EVENT_ALLIANCE_POINT_UPDATE (integer eventCode, number alliancePoints, boolean playSound, number difference, number reasonType[, string characterName])

Ayantir 09/07/16 12:41 PM

If you ask this, I'll ask a number keepId too to my attack/def ticks :rolleyes:

:D

Scootworks 06/14/17 11:57 AM

oh i see this threat the first time. that would helps me a lot for my addon!

ArtOfShred 06/18/17 01:53 PM

This would be super useful for me as well.

The other currency changes currently have a reasonType and AP is the only one lacking.

Also it might be nice to have a newAP and oldAP value rather than difference value for consistency with other currency change events.

ZOS_ChipHilseberg 06/20/17 03:54 PM

I added reason on to the end of the alliance point change event. It will be from the CURRENCY_CHANGE_REASON enumeration.

ZOS_ChipHilseberg 06/20/17 04:05 PM

Also, EVENT_CARRIED_CURRENCY_UPDATE which is the generic currency event should have this info for alliance points.

Scootworks 06/28/17 09:41 PM

that's awesome, thanks!


All times are GMT -6. The time now is 04:11 PM.

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