Results 1 to 2 of 2

Thread: Possible small mistake in 2.35A campaign_script?

  1. #1
    Laetus
    Join Date
    Aug 2015
    Location
    Noricum Ripense
    Posts
    18

    Default Possible small mistake in 2.35A campaign_script?

    Found this while skimming over campaign_script.txt,

    part of "5. Special Events", in particular "The Makedonian Pretender":

    ; Antipatros marches to take Pella

    monitor_event FactionTurnEnd FactionType f_makedonia
    if I_IsFactionAIControlled f_makedonia
    terminate_monitor
    end_if
    if I_EventCounter HE_ETESIAS_INVASION > 0
    and not I_CharacterExists antipatros_reborn1 ; labelled character is dead
    terminate_monitor
    end_if
    if I_CharacterExists antipatros_reborn1
    and I_SettlementOwner sett_086 = f_epeiros
    if I_CompareCounter antipatros_siege < 5
    if not I_SettlementUnderSiege sett_086 ; in case the dude went for a walk about
    and I_CharacterExists antipatros_reborn1
    reposition_character antipatros_reborn1, 183, 158
    end_if
    siege_settlement antipatros_reborn1, sett_086, maintain
    end_if
    if I_CompareCounter antipatros_siege > 4
    if not I_SettlementUnderSiege sett_086 ; in case the dude went for a walk about
    and I_CharacterExists antipatros_reborn1
    reposition_character antipatros_reborn1, 183, 158
    end_if
    siege_settlement antipatros_reborn1, sett_086, attack
    terminate_monitor
    end_if
    inc_counter antipatros_siege 1
    end_if
    end_monitor
    Shouldn't the red line read "and I_SettlementOwner sett_086 = f_makedonia", since this event is only triggered if the Makedonian Player holds Pella, Byzantion, Dardania & Zikideva?
    Or am I missing something?

    I have not yet tried if this scripted event fires properly in a campaign due to time restraints, so apologies if the "f_epeiros"-part is as intended and as it should be... my script-reading-skills are far from perfect.

    Anyway huge thanks to the whole EB2-team from me, I really appreciate your efforts and am looking forward to playing the hell out of this new version!

  2. #2

    Default Re: Possible small mistake in 2.35A campaign_script?

    You are exactly correct, well spotted. Which would explain why he spawns, then wanders off, instead of trying to take Pella as intended...

Posting Permissions

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