NAVIGATION
Wiki » Reference » DOOM 3 Script Events » sway
ARTICLE
sway
This is a script event on id Tech 4 engines, present on DOOM 3, Quake 4 and Prey. Below you can find its signature for each game that declares it.
DOOM 3
Initiates a rotation back and forth along the given angles with the given speed and phase.
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | float speed, float phase, vector angles |
| Section | func_movers |
Quake 4
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | float, float, vector |
Prey
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | float, float, vector |
Last changed Sep 21, 2026
