脚本效果
spawn_unit_type
- The following effect will happen Qa Amount Of Special Units times:
- Show as tooltip
$location$获得type - 游戏提示中不显示
- Set variable
- Name: qa_counter
- Value: 0
- Change variable
- Name: qa_counter
- Add: Amount of Spawning Special Units
- While条件var:qa_counter > 0
- Change variable
- Name: qa_counter
- Subtract: 1
$location$获得type
- Change variable
- Set variable
完整脚本
调用它的脚本会填入这些值,各调用处见“关联”。
$location$$type$
被使用于 3
- The Special Units of 热那亚location = scope:target_location · type = unit_type:a_genoese_crossbowmen (+2)选项 1, 选项 2…
- The Special Units of 马里location = scope:target_location · type = unit_type:a_jonow_auxiliary (+5)选项 1, 选项 2…
- The Special Units of 波斯location = scope:target_location · type = unit_type:a_discovery_qizilbash (+4)选项 1, 选项 2…
脚本 3
需要 1
- qa_counterHidden effect
给予 1
- qa_counterHidden effect
引用 1
- Amount of Spawning Special UnitsHidden effect
custom_tooltip = qa_do_action_for_amount_of_special_units_of_times_tt The following effect will happen Qa Amount Of Special Units times:
show_as_tooltip = {
$location$ = {
create_sub_unit = $type$
}
}