NAVIGATION
Wiki » Reference » DOOM 3 Script Events » drawText
ARTICLE
drawText
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
text drawing for debugging. align can be 0-left, 1-center, 2-right. lifetime of 0 == 1 frame.
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | string text, vector origin, float scale, vector color, float align, float lifetime |
| Section | system events (called via 'sys.') |
Quake 4
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | string, vector, float, vector, float, float |
Prey
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | string, vector, float, vector, float, float |
Last changed Sep 21, 2026
