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

Losing in Python

Discussion in 'Civ4 - Creation & Customization' started by Mercury314, Oct 17, 2007.

  1. Mercury314

    Mercury314 Chieftain

    Joined:
    Sep 6, 2007
    Messages:
    43
    I was wondering if anyone knew how to trigger a loss in Python. Specifically I have a unit, upon losing which, the player loses the game. I know how to trigger the code, but not how to code that the owner of the unit loses the game. Does anyone have any idea's how to do this?
     
  2. Fanatic Demon

    Fanatic Demon Student in Wizardry

    Joined:
    Aug 6, 2004
    Messages:
    403
    Location:
    The Netherlands
    Wrong forum, you should ask this question in the SDK/Python subforum
     
  3. Sto

    Sto Should i code today ...

    Joined:
    Dec 15, 2005
    Messages:
    1,144
    Location:
    Marseille (France)
    Perhaps kill all cities and units owned by the player will do ... or convert them to barbarian .

    Tcho !
     

Share This Page