use the function ScreenTransform to convert world coordinates into screen coordinates which you can use to draw an object on the hud. -Tony
On Mon, Sep 24, 2012 at 10:42 PM, <tja...@comcast.net> wrote: > Hey guys, > > I'm trying to make somewhat of a "objective entity" that displays a text, > similar to many games such as BF2 ( > http://gamasutra.com/features/20061108/clip_image002_0001.jpg) the flags > display there location through walls and such. > I have an entity "info_objective" that shows a simple vgui box on the > center of the screen. What's the best way to size / position it accordingly > the the actual 3D coords of the entity? > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > > -- -Tony
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders