Results 1 to 6 of 6

Thread: script trait relation???

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    leoni's Avatar Campidoctor
    Join Date
    Aug 2009
    Location
    Berlin
    Posts
    1,583

    Default script trait relation???

    Hello everybody. I tried a million times to script an action, in relation to a character trait, but it doesnt work.
    I used many examples from different mods--tutorials but without succes.
    I used Trait, than FactionCharacterTrait but no effect. I also used FactionIsLocal, monitor_conditions and so on..but nothin.

    monitor_event FactionTurnStart FactionType boii
    and I_TurnNumber > 5
    and not I_TurnNumber = 140
    and not I_TurnNumber = 141
    and not I_TurnNumber = 142
    and I_NumberOfSettlements boii > 1
    and FactionCharacterTrait Tyrannis = 2
    set_counter XThreadOK 1
    terminate_monitor
    end_monitor

    Please, could anybody help??
    Last edited by leoni; June 19, 2011 at 12:04 PM.

  2. #2
    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: script trait relation???

    There's no condition FactionCharacterTrait that will fail every time. What are you trying to accomplish?
    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

  3. #3
    leoni's Avatar Campidoctor
    Join Date
    Aug 2009
    Location
    Berlin
    Posts
    1,583

    Default Re: script trait relation???

    Like EBs Agoge script, i wanna script an event, if a character reach an specific level--or just get this trait.
    Also i try out these provoke rebellion command, but no effect???
    If is possible also in relation, in which town he his. I used many conditions like gov-tax level, gov-in residence but nothing works fine. Maybe it is a matter of how the script lines look like---spaces.
    It seems to be very different in many scripts.


    The rest of this script is working fine, like i wanted---but im just a rookie and i am sure it could be scripted much better--but im happy if it just working for me.

    Thanks for your quick answer.
    Last edited by leoni; June 20, 2011 at 12:41 AM.

  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: script trait relation???

    First off, grab the docudemons from the download section as this containts all events, conditions, script commands and console commands that can be used. Second if you're just trying to get if a character has a trait then the condition you want is Trait. If you're trying to imitate what EB's done I'd suggest just copying their code and substituting the traits/settlements/etc that you want for the ones they've used.
    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

  5. #5
    leoni's Avatar Campidoctor
    Join Date
    Aug 2009
    Location
    Berlin
    Posts
    1,583

    Default Re: script trait relation???

    thanks again for ya quick answer.
    but everything you have written i have done---searched the docus and copied just from EB nothing works really strange
    maybe i have to upload the script, so you could risk a look????

    Here are just samples, for what i have tried. After this just a spawn event took place, which work fine.
    Hope someone could help.
    Last edited by leoni; June 21, 2011 at 01:10 AM.

  6. #6
    leoni's Avatar Campidoctor
    Join Date
    Aug 2009
    Location
    Berlin
    Posts
    1,583

    Default Re: script trait relation???

    Help please??!!

Posting Permissions

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