NAVIGATION
Wiki » Reference » Prey Commands » assert
ARTICLE
assert
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
Breaks if the condition is zero. (Only works in debug builds.)
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | float condition |
| Section | system events (called via 'sys.') |
Quake 4
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | float |
Prey (console command)
assert so you can use debugger
| Property | Value |
|---|---|
| Type | console command |
| Flags | CMD_FL_SYSTEM |
Prey (script event)
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | float |
Last changed Sep 21, 2026
