Results 1 to 1 of 1

Thread: Garsion Script Help[SOLVED]

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    cebecibasi41's Avatar Tiro
    Join Date
    Oct 2008
    Location
    Kocaeli or İstanbul in Turkiye
    Posts
    293

    Default Garsion Script Help[SOLVED]

    I have a problem with a garrison script

    Now, I want to create units at one time,not all turns. at the siege.(Constantinople Sieged and settlement owner Byzantium)

    But when Constantinople sieged another time, must create units again.

    here :

    declare_counter yyy

    monitor_event SettlementTurnStart SettlementName Constantinople
    and I_SettlementUnderSiege Constantinople
    and I_SettlementOwner Constantinople = byzantium
    and I_CompareCounter yyy == 0
    inc_counter yyy 1
    end_monitor

    monitor_event SettlementTurnStart SettlementName Constantinople
    and I_CompareCounter yyy == 1
    create_unit Constantinople, Greek Firethrower, num 1, exp 0, arm 0, wep 0
    create_unit Constantinople, Byzantine Infantry, num 1, exp 0, arm 0, wep 0
    create_unit Constantinople, Byzantine Spearmen, num 1, exp 0, arm 0, wep 0
    set_counter yyy 0
    end_monitor




    EDIT: PROBLEM SOLVED. THANKS TO GrnEyedDvl
    Last edited by cebecibasi41; August 31, 2010 at 08:00 AM.
    OTTOMAN : FTLOS MOD PROJECT Coo-Leader Of Ottoman Mod

Posting Permissions

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