Mechanic

setfaction

Sets the target mob's faction

Configuration Fields (1)

NameTypeDefaultDescription
faction
f
PlaceholderStringThe faction to set on the target mob

Examples & Notes

Examples

Sets the faction of the mob to “Hostile” when the mob spawns.

  Skills:
  - setFaction{faction=Hostile} @self ~onSpawn

Universal Mechanic Options

Author:
Ashijin
Community-maintained documentation for the Mythic plugin ecosystem.