by FDARI » Sun Dec 11, 2011 7:48 am
There has been the occasional need to find out exactly what something is looking at, even when this isn't a player. Mostly when a camera is acting as a player proxy. To accomodate this need, I propose the pointer selector AAPTR_GET_LINETARGET. Does exactly the same as AAPTR_PLAYER_GETTARGET, but for all actors.
See also:
http://forum.zdoom.org/viewtopic.php?f=34&t=31493 (compare pointers)
- Attachments
-
aaptr_get_linetarget.zip
- (1.14 KiB) Downloaded 112 times
There has been the occasional need to find out exactly what something is looking at, even when this isn't a player. Mostly when a camera is acting as a player proxy. To accomodate this need, I propose the pointer selector AAPTR_GET_LINETARGET. Does exactly the same as AAPTR_PLAYER_GETTARGET, but for all actors.
See also: http://forum.zdoom.org/viewtopic.php?f=34&t=31493 (compare pointers)