Results 1 to 7 of 7

Thread: Problem with using SettlementBuildingExist

Hybrid View

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

    Default Problem with using SettlementBuildingExist

    What could be wrong with this script?
    PHP Code:
    monitor_event SettlementTurnStart SettlementName Constantinople
            
    and I_SettlementOwner Constantinople byzantium
            
    and SettlementBuildingExist small_church_o
            add_settlement_turmoil Constantinople 20
    end_monitor 
    Log says "Condition parser doesn't recognise this token: SettlementBuildingExist"

  2. #2
    SpyrosM91's Avatar Despotes
    Join Date
    Aug 2010
    Location
    Patras, Greece
    Posts
    3,675

    Default Re: Problem with using SettlementBuildingExist

    it's: SettlementBuildingExists


    Proud Tsardoms Total War: Historian - Coder - Scripter - Mapper

  3. #3

    Default Re: Problem with using SettlementBuildingExist

    I need to buy some glasses
    Thanx

  4. #4

    Default Re: Problem with using SettlementBuildingExist

    Also i think you need to use the >= or == for settlementbuildingexists, it would appear that you are saying if less than a small church exist and small church (i think) is the lowest on that tree....

    like this

    and SettlementBuildingExists == small_church_o

    or

    and SettlementBuildingExists >=small_church_o

  5. #5

    Default Re: Problem with using SettlementBuildingExist

    I have got it for all levels of orthodox temples

  6. #6

    Default Re: Problem with using SettlementBuildingExist

    Quote Originally Posted by attyla View Post
    I have got it for all levels of orthodox temples
    ok...nevermind...i see what your doing....sorry

Posting Permissions

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