Mechanic
setfaction
Sets the target mob's faction
Configuration Fields (1)
| Name | Type | Default | Description |
|---|---|---|---|
| faction f | PlaceholderString | — | The 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
