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

ParameterTypeDefaultValid ValuesDescription
viewerstring"chat"Any stringThe viewer/label name to register each zombie under.
numbernumber5Any positive integerHow many zombies to spawn, evenly spaced around the circle.
radiusnumber10Any positive numberRadius of the spawn circle around the player in world units.
bonebooleanfalsetrue, falseWhen 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 }