circle_viewerZeds
zombie_circle_viewerZeds.lua — Zombie module
What it does
Spawns a number of zombies arranged in an evenly spaced circle around the player. Each zombie is registered to a named viewer (Twitch chat username or other label), optionally rendered as a skeleton, and immediately set to sprint toward the player. The circle radius and zombie count are both configurable.
Trigger type
circle_viewerZeds
Parameters
| Parameter | Type | Default | Valid Values | Description |
|---|---|---|---|---|
viewer | string | "chat" | Any string | The viewer/label name to register each zombie under. |
number | number | 5 | Any positive integer | How many zombies to spawn, evenly spaced around the circle. |
radius | number | 10 | Any positive number | Radius of the spawn circle around the player in world units. |
bone | boolean | false | true, false | When true, each spawned zombie is set to skeleton mode. |
Examples
Minimal: 5 sprinting zombies in a circle of radius 10
{ type="circle_viewerZeds" }
Spawn 12 skeleton zombies in a wide circle, tagged to a viewer
{ type="circle_viewerZeds", viewer="AwesomeViewer", number=12, radius=20, bone=true }
Tight ring of 3 regular zombies
{ type="circle_viewerZeds", number=3, radius=5, bone=false }