Skip to main content

ModifyingFactionInfluence

Gets called when a faction's influence is changing.

Start a script section

!-- OnEvent ModifyingFactionInfluence
-- require $evFaction $evInfluence $evIsAllowed

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

Injected variables

VariableTypeDescription
$evFactionFaction enum valueGets or sets the faction whose influence is being modified.
$evInfluencenumber valueGets or sets the new influence of the Faction.
$evIsAllowedbool valueWhether the event is allowed to run.