impulseZeds
zombie_impulse.lua — Zombie module
What it does
Applies a randomised physics impulse to every zombie within a given radius of the player. Each zombie is flung in a random horizontal direction with a random lateral force (2–6) and a random upward lift (0.5–1.5), creating a ragdoll explosion effect. The direction and strength are independently randomised per zombie.
Trigger type
impulseZeds
Parameters
| Parameter | Type | Default | Valid Values | Description |
|---|---|---|---|---|
radius | number | 20 | Any positive number | Distance in world units from the player within which zombies will receive the impulse. |
Examples
Launch all zombies within 20 units in random directions
{ type="impulseZeds" }
Wider blast radius
{ type="impulseZeds", radius=40 }
Point-blank impulse on nearby zombies only
{ type="impulseZeds", radius=3 }