Add Acutal Zone Changes to Event #1


  • New
  • Enhancment
Open
Assigned to _ForgeUser14697
  • _ForgeUser3137534 created this issue May 16, 2010

    What is the enhancement in mind? How should it look and feel?
    I noticed the current version only seems to make changes on Instance and Battleground Changes.  This suggestion will give the ability to change on ANY zone change.

    Please provide any additional information below.
    Add the following line of code to function GridDynamicZoneSwitch:OnEnable():

    self:RegisterEvent("ZONE_CHANGED_NEW_AREA", "scheduleUpdate")

    I put it after line 331.

    This causes the database to be checked every time you change a map zone.

    Happy Hunting!

    -Fier

    Edit:    It also seems to resolve the issue of leaving a battleground.  I have also commented out the PLAYER_ENTERING_WORLD line, as this new line seems to catch all zone changing events.

  • _ForgeUser3137534 added the tags New Enhancment May 16, 2010
  • _ForgeUser3137534 edited description May 16, 2010

To post a comment, please login or register a new account.