toothless deprecated WIP
zombie_toothless_viewerZed.lua — Zombie module
What it does
Spawns a single toothless zombie at a random position within a given radius of the player. The zombie is registered to a named viewer using isToothless = true in the SIFUtils options, and zombie:setNoTeeth(true) is called to prevent infection transmission. The zombie sprints toward the player immediately after spawning.
Trigger type
toothless
Parameters
| Parameter | Type | Default | Valid Values | Description |
|---|---|---|---|---|
viewer | string | "chat" | Any string | Viewer/label name to register the zombie under in SIFUtils. |
radius | number | 10 | Any positive number | Maximum spawn distance from the player in world units. |
Examples
Spawn one toothless zombie near the player
{ type="toothless" }
Spawn tagged to a specific viewer, within 20 units
{ type="toothless", viewer="SafeViewer", radius=20 }
Very close toothless zombie
{ type="toothless", radius=3, viewer="GumZed" }