Results 1 to 4 of 4

Thread: Problem with FactionBuildingExist

Hybrid View

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

    Default Problem with FactionBuildingExist

    This script doesn't work - why?
    PHP Code:
    monitor_event SettlementTurnStart SettlementName Constantinople
        
    and I_SettlementOwner Constantinople byzantium
        
    and not FactionBuildingExist hagia_sofia
            add_settlement_turmoil Constantinople 20
    end_monitor 
    And it comes from is my log file:
    12:52:32.890 [game.script] [error] Condition parsing error in mods/oikoumene/data/world/maps/campaign/imperial_campaign/campaign_script.txt, at line 302, column 13
    Condition parser doesn't recognise this token: FactionBuildingExist
    12:52:32.890 [game.script] [error] Condition parsing error in mods/oikoumene/data/world/maps/campaign/imperial_campaign/campaign_script.txt, at line 303, column 13
    Condition parser doesn't recognise this token: FactionBuildingExist

  2. #2
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Problem with FactionBuildingExist

    FactionBuildingExist doesn't exist!

    The log says it doesn't recognise FactionBuildingExist, so from that you should be able to work out that you must have spelt it wrong.

    FactionBuildingExists
    Last edited by Taiji; February 21, 2012 at 07:46 AM.

  3. #3

    Default Re: Problem with FactionBuildingExist

    i knew it must be something stupid
    thanx

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Problem with FactionBuildingExist

    Run your script through my script editor.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •