ID:163651
![]() Aug 10 2007, 8:02 pm
|
|
Is there a maxX and maxY for the client.screen? I want to make my top-screen HUD items adjust to a changeable screensize, and as such I need to change it based on the size. If there is such variables, it would be good because then I can just do maxy - whatever or maxx - whatever instead of editing per view, which would be a hassle.
|
![]() Aug 10 2007, 8:03 pm
|
|
There's no reason to implement a feature where you can just store the values yourself. It's easy enough to define a screen_width and screen_height variable for clients, and update the client's view according to those values.
|
Polantaris wrote:
Is there a maxX and maxY for the client.screen? I want to make my top-screen HUD items adjust to a changeable screensize, and as such I need to change it based on the size. If there is such variables, it would be good because then I can just do maxy - whatever or maxx - whatever instead of editing per view, which would be a hassle. If you look at screen_loc in the reference, you'll see you can use things like EAST and NORTH which adjust to the screen size. Lummox JR |