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
| Variable | Type | Description |
|---|---|---|
$evFaction | Faction enum value | Gets the faction that achieved this milestone. |
$evThreshold | number value | Gets the influence threshold for this milestone. |
$evMilestoneIndex | number value | Gets the index of the achieved milestone. |
$evIsAllowed | bool value | Whether the event is allowed to run. |