Skip to main content

AchievedMilestone

Gets called when a faction achieved a milestone.

Start a script section

!-- OnEvent AchievedMilestone
-- require $evFaction $evThreshold $evMilestoneIndex

# Add your instructions here
  • Group: ServerEvents
  • Cancellable: No
  • Event data: AchievedMilestoneEventArgs

Injected variables

VariableTypeDescription
$evFactionFaction enum valueGets the faction that achieved this milestone.
$evThresholdnumber valueGets the influence threshold for this milestone.
$evMilestoneIndexnumber valueGets the index of the achieved milestone.