Page 1 of 1

Find linetarget of any actor

Posted: Sun Dec 11, 2011 7:48 am
by FDARI
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)

Re: Find linetarget of any actor

Posted: Sun Dec 11, 2011 8:22 am
by Nash
This will be immensely useful for doing things like selecting an actor via a mouse cursor on screen!

Re: Find linetarget of any actor

Posted: Sun Dec 11, 2011 10:43 am
by Nightfall
Hope this gets in.. I can see use for this!

Re: Find linetarget of any actor

Posted: Sun Sep 28, 2014 7:19 am
by FDARI