effect · add_ace
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
adds an air ace
add_aceCOUNTRYnoneadds an air ace
Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.
add_ace is commonly used in scripted events or national focuses to randomly generate an elite air force pilot for a country, enhancing narrative immersion or providing combat bonuses. For example, in special scenarios where a country completes an air force-related focus:
focus = {
id = legendary_air_program
...
completion_reward = {
add_ace = yes
air_experience = 50
}
}
[air_experience](/wiki/effect/air_experience): The appearance of elite pilots typically accompanies air experience rewards, together reinforcing the "elite air force" thematic narrative.[has_air_experience](/wiki/trigger/has_air_experience): Serves as a precondition check to ensure the country has sufficient air force foundation before triggering pilot generation, making the logic more coherent.[add_ideas](/wiki/effect/add_ideas): Can simultaneously add air force-related national ideas or advisors, forming a comprehensive air force enhancement reward package alongside the ace pilot.[country_event](/wiki/effect/country_event): Can be paired with triggered events to provide narrative feedback to the player, describing the background story of the elite pilot's emergence.add_ace can only be used within the COUNTRY scope. Mistakenly placing it in STATE or CHARACTER scope will cause script errors or silent failures. Pay close attention to the current scope level.