1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

GameEvent for Swapping Great Works?

Discussion in 'Civ5 - SDK / LUA' started by JFD, Apr 30, 2016.

  1. JFD

    JFD Kathigitarkh

    Joined:
    Oct 19, 2010
    Messages:
    9,107
    Location:
    The Kingdom of New Zealand
    I was hoping someone could tell me if there was a Game Event introduced for BNW that detected when Great Works were swapped between civilizations. I couldn't find anything in the CulturalOverview.lua, and as we know, documentation of BNW Game Events is relatively lacking. Thanks for any info!
     
  2. Klisz

    Klisz King

    Joined:
    Aug 18, 2014
    Messages:
    805
    As far as I can tell from CvCultureClasses.cpp's CvGameCulture::SwapGreatWorks, there is not.
     
  3. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,350
    Location:
    Near Portsmouth, UK
    Nothing specific, but you'll get a Events.SerialEventCityInfoDirty trigger (so with a lot of work you could detect the swap)

    BTW - in the standard DLL there are no AI <-> AI swaps
     
  4. JFD

    JFD Kathigitarkh

    Joined:
    Oct 19, 2010
    Messages:
    9,107
    Location:
    The Kingdom of New Zealand

Share This Page