Scripted Effect
spawn_unit_type
- The following effect will happen Qa Amount Of Special Units times:
- Show as tooltip
$location$Gains a type - Not shown in the game's tooltip
- Set variable
- Name: qa_counter
- Value: 0
- Change variable
- Name: qa_counter
- Add: Amount of Spawning Special Units
- Whilewherevar:qa_counter > 0
- Change variable
- Name: qa_counter
- Subtract: 1
$location$Gains a type
- Change variable
- Set variable
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$location$$type$
Used by 3
- The Special Units of Genoalocation = scope:target_location · type = unit_type:a_genoese_crossbowmen (+2)Option 1, Option 2…
- The Special Units of Malilocation = scope:target_location · type = unit_type:a_jonow_auxiliary (+5)Option 1, Option 2…
- The Special Units of Persialocation = scope:target_location · type = unit_type:a_discovery_qizilbash (+4)Option 1, Option 2…
Scripting 3
Requires 1
- qa_counterHidden effect
Grants 1
- qa_counterHidden effect
References 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$
}
}