1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. Photobucket has changed its policy concerning hotlinking images and now requires an account with a $399.00 annual fee to allow hotlink. More information is available at: this link.
    Dismiss Notice
  3. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  4. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  5. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  6. Dismiss Notice
  7. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Possible to decrease a city population with bombardements ?

Discussion in 'Civ5 - Creation & Customization' started by Hulfgar, Sep 1, 2011.

  1. Hulfgar

    Hulfgar Chieftain

    Joined:
    Mar 31, 2008
    Messages:
    1,794
    Gender:
    Male
    Location:
    France
    Hello all,

    is it possible to make bombardements decrease the population of a city ?
     
  2. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    6,750
    Location:
    France
    I suppose it could be done for aerial bombardment, but I'm not sure for other ranged attacks.

    You'll have to use RunCombatSim and EndCombatSim events, unit:LastMissionPlot() in the first event to get the plot/city attacked, and I suppose city:ChangePopulation() to change the city population....

    I just don't know if LastMissionPlot() will return the targeted plot for a land/sea unit ranged attack... (it does for an aircraft)
     
  3. Hulfgar

    Hulfgar Chieftain

    Joined:
    Mar 31, 2008
    Messages:
    1,794
    Gender:
    Male
    Location:
    France

Share This Page