Results 1 to 8 of 8

Thread: Diplomatic Stance problem

Hybrid View

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

    Default Diplomatic Stance problem

    I test my mod now and after one of turn, log shoved this error:
    12:58:03.437 [game.script] [error] Script execution error for <monitor_event>, at line 318, in mods/oikoumene/data/world/maps/campaign/imperial_campaign/campaign_script.txt:
    <target_faction> is unavailable from event <FactionTurnStart>
    when testing <DiplomaticStanceFactions> condition
    This error relates to this script and line:
    monitor_event PreFactionTurnStart FactionType byzantium
    and I_TurnNumber > 3
    and I_NumberOfSettlements byzantium > 0
    and I_NumberOfSettlements turks > 0
    and DiplomaticStanceFactions > Hostile
    and TargetFactionType turks
    set_event_counter wojna 0
    set_event_counter turcy_pomoc_dana 0
    set_event_counter byzantium_pomoc_dana 0
    generate_random_counter turcy_wojna 1 100
    end_monitor
    What can be wrong?

  2. #2

    Default Re: Diplomatic Stance problem

    Try deleting the two lines above set_event_counter wojna 0 and replace them with this and DiplomaticStanceFromFaction turks > Hostile

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

    Default Re: Diplomatic Stance problem

    PreFactionTurnStart doesn't export a target faction, is what the error message is trying to tell you.
    Last edited by Taiji; February 19, 2012 at 03:56 AM.

  4. #4
    Germanicu5's Avatar Will buy spare time...
    Join Date
    Feb 2009
    Location
    Not Zee Germany
    Posts
    2,101

    Default Re: Diplomatic Stance problem

    I'm getting the impression that you wanted the script to launch in a different situation.

    I know it's a bit counterintuitive, although described in Docudemons:

    and DiplomaticStanceFromFaction turks > hostile - means "AtWar" only

    and DiplomaticStanceFromFaction turks < hostile - means everything down to "Allied"

    Regards
    I have no memory of this place.

  5. #5

    Default Re: Diplomatic Stance problem

    Quote Originally Posted by Germanicu5 View Post
    I'm getting the impression that you wanted the script to launch in a different situation.

    I know it's a bit counterintuitive, although described in Docudemons:

    and DiplomaticStanceFromFaction turks > hostile - means "AtWar" only

    and DiplomaticStanceFromFaction turks < hostile - means everything down to "Allied"

    Regards
    Yeah my bad I was in a hurry and didn't proofread my typing...I meant to write the <....Although I think he was going for "at war" as the condition...
    Last edited by valvegas1; February 18, 2012 at 10:08 PM.

  6. #6

    Default Re: Diplomatic Stance problem

    So if i understand you well there is enough if i will change DiplomaticStanceFactions to DiplomaticStanceFromFaction, erase target faction and change "<" το ">" and all should be OK?

  7. #7

    Default Re: Diplomatic Stance problem

    Quote Originally Posted by attyla View Post
    So if i understand you well there is enough if i will change DiplomaticStanceFactions to DiplomaticStanceFromFaction, erase target faction and change "<" το ">" and all should be OK?
    That would be correct...

  8. #8

    Default Re: Diplomatic Stance problem

    I think it's OK now. Thank you all

Posting Permissions

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