Fires a operative leader event for owner country.
Example:
operative_leader_event = {
id = mtg_exile_leader_added.1 # The event to fire.
# Optional Fields:
originator = TAG # The originator of the event (default to the owner of the operative)
recipient = TAG # The recipient of the event (default to the owner of the operative)
hours = 12 # The number of hours to wait before firing the event.
days = 5 # The number of days to wait before firing the event.
months = 1 # The number of months to wait before firing the event, where a month is treated as 30 days.
# Note: hours, days, and months can all be used and will simply be added together.
random_hours = 18 # A random amount of hours to be added to the delay before firing, from 0 up to but not including random_hours.
random_days = 2 # A random amount of days to be added to the delay before firing, from 0 up to but one hour less than random_days.
# Note: random_hours and random_days can both be used and will simply be added together.
random = 6 # Equivalent to random_hours; preserverd for backwards compatibility.
random = { chance = 50 ... } # Specify a set of child effects to execute as part of this effect, with a percentage chance of randomly happening or not (as a group, not individually).
tooltip = mtg_exile_leader_added.1.t # Manually specify which tooltip to use for this effect.
set_from = TAG # Set the scope of the From in the scripted localization
set_from_from = TAG # Set the scope of the From.From in the scripted localization
set_root = TAG # Set the scope of the Root in the scripted localization
}
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
operative_leader_event 常用于情报 mod 中,当特工执行特定任务(如渗透、破坏、反间谍)后触发剧情事件,向玩家反馈任务结果或推进情节。例如在特工被捕或完成渗透任务时,为其宿主国家弹出对应事件,配合 hours 或 days 字段制造延迟感,模拟情报传递的真实性。
# 在特工任务完成后触发,向宿主国延迟播报结果
operative_leader_event = {
id = spy_ops.5
days = 2
random_hours = 12
originator = FROM
tooltip = spy_ops.5.t
}