zombie_katana

zombie_katana.lua — Zombie module

What it does

Spawns a configurable number of "Bandit"-outfit zombies arranged in a circle around the player. Each zombie has a 50% chance of being female and is registered to a named viewer. Positions are evenly distributed on the circumference, and each zombie is individually tracked via SIFUtils.registerZombie.

Trigger type

zombie_katana

Parameters

ParameterTypeDefaultValid ValuesDescription
radiusnumber10Any positive numberRadius of the spawn circle around the player in world units.
countnumber5Any positive integerNumber of zombies to spawn, evenly spaced around the circle.
viewerNamestring"Bandit"Any stringLabel used when registering each zombie with SIFUtils.

Examples

Default: 5 Bandit zombies in a circle of radius 10
{ type="zombie_katana" }
8 Bandit zombies in a wider circle, tagged to a specific viewer
{ type="zombie_katana", count=8, radius=15, viewerName="StreamerFan99" }
Single Bandit zombie close to the player
{ type="zombie_katana", count=1, radius=3, viewerName="Boss" }