Results 1 to 6 of 6

Thread: Technical questions on scripting

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    EBII Mod Leader Member Foot's Avatar
    Join Date
    Apr 2005
    Location
    Brighton, East Sussex, England (GMT)
    Posts
    10,736

    Default Re: Technical questions on scripting

    You cannot have >= with SettlementBuildingExists. You will need to put in "and" statements for all levels of farm you want to use.

    Foot
    EBII Mod Leader
    Hayasdan Faction Co-ordinator


  2. #2
    EBII PM Member JMRC's Avatar
    Join Date
    Nov 2006
    Location
    Lisboa, Portugal
    Posts
    7,930

    Default Re: Technical questions on scripting

    Quote Originally Posted by Foot
    You cannot have >= with SettlementBuildingExists. You will need to put in "and" statements for all levels of farm you want to use.

    Foot
    Thanks Foot. I did try to do that, but it seems the GeneralDevastatesTile event simply doesn't recognize the SettlementBuildingExists trigger. If this is so, then it is a bug in the docudemon files because apparently this event doesn't export the Settlement.

    It's a bit frustrating...



    "Death Smiles at Us All,all a Man Can Do Is Smile Back."
    Maximvs Decimvs Meridivs, Commander of the Armies of the North, General of the Felix Legions, Iberian Gladiator.

  3. #3
    EB Traitor Member BozosLiveHere's Avatar
    Join Date
    Jan 2006
    Location
    Uqbar, Tlön
    Posts
    3,662

    Default Re: Technical questions on scripting

    Quote Originally Posted by Foot
    You cannot have >= with SettlementBuildingExists. You will need to put in "and" statements for all levels of farm you want to use.

    Foot
    This is not true. The problem in your code is that AFAIK SettlementBuildingExists can only work if the general is actually inside a settlement, something that just can't happen if he's pillaging a tile.

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