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
| Parameter | Type | Default | Valid Values | Description |
|---|---|---|---|---|
radius | number | 10 | Any positive number | Radius of the spawn circle around the player in world units. |
count | number | 5 | Any positive integer | Number of zombies to spawn, evenly spaced around the circle. |
viewerName | string | "Bandit" | Any string | Label 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" }