Скриптовый эффект

spawn_unit_type

spawn_unit_typein_game/events/debug/qa_debug.txt:2404
Требуетqa_counterПеременнаяhidden effect

Определениеin_game/events/debug/qa_debug.txt:2404

2405custom_tooltip = qa_do_action_for_amount_of_special_units_of_times_tt The following effect will happen Qa Amount Of Special Units times:
2406show_as_tooltip = {
2407$location$ = {
2408create_sub_unit = $type$
}
}
2411hidden_effect = {
2412set_variable = {
2412name = qa_counter
2412value = 0
}
2413change_variable = {
}
2414while = {
2415limit = {
}
2416change_variable = {
2417name = qa_counter
2418subtract = 1
}
2420$location$ = {
2421create_sub_unit = $type$
}
}
}