level 6
杀颜良
楼主
我模仿z大脚本中,教皇国占领耶路撒冷后,能出圣墓的脚本,打算给伊斯兰三国也添加上类似的,然后添加一种新骑兵,可以在所有大清真寺造。请z大看一下,是否能实现?
monitor_conditions not I_SettlementOwner Antioch = turks
and I_EventCounter holds_Antioch == 1
and I_NumberOfSettlements turks > 0
set_event_counter holds_Antioch 0
end_monitor
monitor_conditions I_SettlementOwner Antioch = turks
and I_EventCounter holds_Antioch == 0
add_events
event counter holds_Antioch
date 0
end_add_events
end_monitor
monitor_conditions not I_SettlementOwner Cairo = egypt
and I_EventCounter holds_Cairo == 1
and I_NumberOfSettlements egypt > 0
set_event_counter holds_Cairo 0
end_monitor
monitor_conditions I_SettlementOwner Cordoba = moors
and I_EventCounter holds_Cordoba == 0
add_events
event counter holds_Cordoba
date 0
end_add_events
end_monitor
monitor_conditions I_SettlementOwner Cordoba = moors
and I_EventCounter holds_Cordoba == 0
add_events
event counter holds_Cordoba
date 0
end_add_events
end_monitor
如果可以的话,建议用这个方法取代地域征兵,给所有国家都添加类似的脚本触发,来控制某些精锐兵种的建造。比如拜占庭在丧失小亚细亚平原后就不再能征募某些精锐。
2013年12月13日 01点12分
1
monitor_conditions not I_SettlementOwner Antioch = turks
and I_EventCounter holds_Antioch == 1
and I_NumberOfSettlements turks > 0
set_event_counter holds_Antioch 0
end_monitor
monitor_conditions I_SettlementOwner Antioch = turks
and I_EventCounter holds_Antioch == 0
add_events
event counter holds_Antioch
date 0
end_add_events
end_monitor
monitor_conditions not I_SettlementOwner Cairo = egypt
and I_EventCounter holds_Cairo == 1
and I_NumberOfSettlements egypt > 0
set_event_counter holds_Cairo 0
end_monitor
monitor_conditions I_SettlementOwner Cordoba = moors
and I_EventCounter holds_Cordoba == 0
add_events
event counter holds_Cordoba
date 0
end_add_events
end_monitor
monitor_conditions I_SettlementOwner Cordoba = moors
and I_EventCounter holds_Cordoba == 0
add_events
event counter holds_Cordoba
date 0
end_add_events
end_monitor
如果可以的话,建议用这个方法取代地域征兵,给所有国家都添加类似的脚本触发,来控制某些精锐兵种的建造。比如拜占庭在丧失小亚细亚平原后就不再能征募某些精锐。