-
August 31, 2010, 07:42 AM
#1
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
-
Forum Rules