Thread Tools Display Modes
09/07/16, 12:05 PM   #1
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
[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

Last edited by Ayantir : 09/07/16 at 12:09 PM.
 
09/07/16, 12:34 PM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,566
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])
 
09/07/16, 12:41 PM   #3
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
If you ask this, I'll ask a number keepId too to my attack/def ticks

 
06/14/17, 11:57 AM   #4
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 312
oh i see this threat the first time. that would helps me a lot for my addon!
 
06/18/17, 01:53 PM   #5
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 103
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.
 
06/20/17, 03:54 PM   #6
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
I added reason on to the end of the alliance point change event. It will be from the CURRENCY_CHANGE_REASON enumeration.
 
06/20/17, 04:05 PM   #7
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
Also, EVENT_CARRIED_CURRENCY_UPDATE which is the generic currency event should have this info for alliance points.
 
06/28/17, 09:41 PM   #8
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 312
that's awesome, thanks!

Last edited by Scootworks : 01/09/18 at 12:06 AM.
 

ESOUI » Developer Discussions » Wish List » [implemented] Improve EVENT_ALLIANCE_POINT_UPDATE

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off