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)
Find linetarget of any actor
Moderator: GZDoom Developers
Find linetarget of any actor
- Attachments
-
aaptr_get_linetarget.zip
- (1.14 KiB) Downloaded 112 times
Last edited by FDARI on Sun Dec 11, 2011 8:48 am, edited 1 time in total.
Re: Find linetarget of any actor
This will be immensely useful for doing things like selecting an actor via a mouse cursor on screen!
Re: Find linetarget of any actor
Hope this gets in.. I can see use for this!