NAVIGATION
Wiki » Reference » DOOM 3 Script Events » getTraceEntity
ARTICLE
getTraceEntity
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
Returns a reference to the entity which was hit during the last call to trace or tracePoint
| Property | Value |
|---|---|
| Type | script event |
| Returns | entity |
| Section | system events (called via 'sys.') |
Quake 4
| Property | Value |
|---|---|
| Type | script event |
| Returns | entity |
Prey
| Property | Value |
|---|---|
| Type | script event |
| Returns | entity |
Last changed Sep 21, 2026
