getviewpos
This is a console command on id Tech 4 engines, present on DOOM 3, DOOM 3 BFG, Quake 4 and Prey. Below you can find its usage and flags for each engine that declares it.
DOOM 3
prints the current view position
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_GAME | CMD_FL_CHEAT |
DOOM 3 BFG
prints the current view position
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_GAME | CMD_FL_CHEAT |
Quake 4 (console command)
prints the current view position
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_GAME | CMD_FL_CHEAT |
Quake 4 (script event)
| Property |
Value |
| Type |
script event |
| Returns |
vector |
| Name |
getViewPos |
Prey
prints the current view position
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_GAME | CMD_FL_CHEAT |