Results 1 to 4 of 4

Thread: A condition question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default A condition question

    For the condition settlementbuildingpresent how is the settlement referenced. Using settelementbuildingpresent is the script triggered locally or global?
    Thanks in advance
    DoH
    When it occurs to a man that nature does not regard him as important and that she feels she would not maim the universe by disposing of him, he at first wishes to throw bricks at the temple, and he hates deeply the fact that there are no bricks and no temples
    -Stephen Crane

  2. #2

    Default Re: A condition question

    SettlementBuildingExists has a Trigger Requirement: Settlement.

    That means that the event used in the trigger/monitor must have a settlement export - eg, SettlementTurnStart. You can therefore use it globally and just have SettlementTurnStart or you can use it locally with an additional SettlementName conditional.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  3. #3

    Default Re: A condition question

    I am writing a script to have upkeep for buildings. Would i have to state every single city in the codtion or is there an easier way?
    When it occurs to a man that nature does not regard him as important and that she feels she would not maim the universe by disposing of him, he at first wishes to throw bricks at the temple, and he hates deeply the fact that there are no bricks and no temples
    -Stephen Crane

  4. #4
    Simulation Monkey Member The_Mark's Avatar
    Join Date
    Dec 2004
    Location
    Helsinki, Finland
    Posts
    2,613

    Default Re: A condition question

    Every single city in separate monitors. And, you'll need one monitor per settlement building combination for which you want to have a differing upkeep cost, as you can't use SettlementBuildingExists as a separate condition.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO