Character
135 items
add advisor role to character May directly activate (aka hire) using activate = yes
Add country leader trait to the scoped character or scoped country's leader. In scoped character, will need to give the ideology if the character has several country leader roles.
adds a dynamic modifier to the containing scope (country / state / unit-leader / special-project). Updates the cooldown if exists. Optionaly you can give a scope that will restrict the dynamic modifier to it.
Add the specified nationalty to the scoped-in operative. Examples
add random trait from specified list to unit leader. add_random_trait = { old_guard brilliant_strategist inflexible_strategist }
Add levels to a special project specialization for a scientist character in scope. The level parameter is a scoped variable
Add scientist role to a character. The character can come from the scope or from an input parameter. The scientist role format is the same as in the character DB. Except the visible trigger - a scientist role created via effect cannot have triggers. Examples
Add experience to a special project specialization for a scientist character in scope. The experience parameter is a scoped variable.
Return true if the character has an advisor role and they can be fired. Warning: will return false if the character has no advisor role or it does not match the input slot. You should use has_advisor_role trigger first to really test the can_be_fired flag.
Boost planning of units that are belongs to the army group/navy of this unit leader
Checks if the current character can be captured while deployed in a division
Returns true if specified character has a least one country leader role.
Capture an operative Can be used from a scope and a target that is either a country or a unit leader. Examples
clear unit leader flag This effect is deprecated in favor of clr_character_flag.
Force an operative into hiding, preventing him from performing mission. The specified values is subject to modifiers
updates the modifiers in current scope (use if you don't want to wait for daily update to update them)
Free an operative Can be used from a scope and a target that is either a country or a unit leader.
Grant experience to the scoped in unit leader. Cannot be used to remove experience. The unit leader is promoted to the next skill level if applicable.
Harm an operative. The specified value is subject to modifiers.
does unit leader have the abilityCheck if a unit leader has the ability.
Checks if the character in scope has an advisor role for the given slot
has a character flag been setCheck flag val date set and days since set.
check unit leader has specified ID. Don't localize this. Tooltip only for debug.
Checks if the current character has a country leader role matching the sub-ideology
Checks if the current character has a country leader role matching the ideology group
Checks whether the operative has the specified nationality. NOTE: this is invalid on non-operatives. Examples
Checks if the scientist of the character in scope matches the skill level condition for a specialization. Supports < > = operators.
This trigger is deprecated in favor of has_character_flag (which does the same)has a character flag been setCheck flag val date set and days since set.
A hidden trigger, that will not be displayed in the tooltip. The trigger can still be evaluate when generating a tooltip. This might be required in the following cases
Injure a scientist for x amount of days to a scientist character in scope.
Checks if the scientist of the character in scope is assigned to a project