Results 1 to 26 of 26

Thread: Scripting

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Spends his time on TWC Member Simetrical's Avatar
    Join Date
    Dec 2004
    Location
    New York City
    Posts
    1,358

    Default Re: Scripting

    Quote Originally Posted by Epistolary Richard
    Simetrical is, of course, referring to the coding used in export_descr_buildings. The RTW language used in files such as the prologue campaign script and show me scripts do not have an 'or'.
    They don't? The EDCT.txt and EDA.txt triggers have them, I thought they used the same syntax.
    TWC Administrator

    MediaWiki Developer

  2. #2
    EB Traiter Member Malrubius's Avatar
    Join Date
    Jan 2005
    Location
    On a tree-covered mountain in Anniston, Alabama, USA
    Posts
    2,633

    Default Re: Scripting

    So can you do something like:

    Code:
    Condition SettlementName Rome
           or SettlementName Sparta
           or SettlementName Athens
    or

    Code:
    Condition SettlementName (Rome or Sparta or Athens)
    ?


    I tried this:
    Code:
    Condition FactionType (carthage or numidia)
    once before and got an error message on exit. The original traits and ancillaries files didn't include any "or" conditions, did they?

    Ah! the Generals! they are numerous, but not good for much (especially if they're Languorous)!
    -- Aristophanes, if he played EB

  3. #3

    Default Re: Scripting

    There is no OR in RTW Script in any shape of form.
    I wish there was. As Simetrical said RTW scripting is extramly limited.
    If it was more flexible we could do really great stuff.
    But as Simetrical said it was designed only for Prolog and for this purpos its more then enough, so there is no need to bash CA about it

    Damn if CA would make RTW expansion only about fixing bugs, adding more faction slots, possibility of defining new cultures and adding factions to them at will, making scripts much more advanced for moding purpuses, rising some other limitations withought adding new campaings etc..
    I bet that all mods would switch imidietly to expansion and CA would sold more copies of it then they will sell BI.
    Last edited by LorDBulA; 09-20-2005 at 08:35.

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