Skip to main content

AchievingMilestone

Gets called when a faction is achieving a milestone.

Start a script section

!-- OnEvent AchievingMilestone
-- require $evFaction $evThreshold $evMilestoneIndex $evIsAllowed

# Add your instructions here
  • Group: ServerEvents
  • Cancellable: Yes
  • Event data: AchievingMilestoneEventArgs

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.
$evIsAllowedbool valueWhether the event is allowed to run.