restorePosition
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 this entity to the position stored in the "origin" spawn arg. This is the position the entity was spawned in unless the "origin" key is changed. Note that there is no guarantee that the entity won't be stuck in another entity when moved, so care should be taken to make sure that isn't possible.
| Property |
Value |
| Type |
script event |
| Returns |
void |
| Section |
all entities |
Quake 4
| Property |
Value |
| Type |
script event |
| Returns |
void |
Prey
| Property |
Value |
| Type |
script event |
| Returns |
void |