So, is that means I have to delete all end_if after the spawn army script except spawn_armyD ?
Anyway another advice I recieve is to delete part in bold and change
the and I_TurnNumber > 21 to
I_TurnNumber = 21
as below. Is there any differences ? I tested this one first, and the army didn't spawn again (already spawn on the exact date) when I reload the game. However I didn't test the game before it spawn to see if the script works.
Thanks for the advice Myrddraal![]()
while I_TurnNumber < 1840
select_ui_element advisor_dismiss_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
suspend_unscripted_advice true
;;;;;;;; spawn_army ;;;;;;
declare_counter spawn_army
if I_TurnNumber = 0
set_counter spawn_armyA 0
set_counter spawn_armyB 0
set_counter spawn_armyC 0
set_counter spawn_armyD 0
end_if
;;;;;;;; spawn_army ;;;;;;
monitor_event FactionTurnStart FactionType greek_cities
and I_TurnNumber > 21
Bookmarks