Screen size: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
New page: Holds the player's screensize - starts at 0 for no HUD and then increments by 4 for each size of screen, up to 64. A value of 4 means the player has just the Health, Ammo and Inventory vis...
 
No edit summary
Line 1: Line 1:
screen_size
Holds the player's screensize - starts at 0 for no HUD and then increments by 4 for each size of screen, up to 64. A value of 4 means the player has just the Health, Ammo and Inventory visible, and 8 & up means they have the full status bar up.
Holds the player's screensize - starts at 0 for no HUD and then increments by 4 for each size of screen, up to 64. A value of 4 means the player has just the Health, Ammo and Inventory visible, and 8 & up means they have the full status bar up.
Example:
<pre>
// Remove the old HUD
setuserdef[THISACTOR].screen_size 0
</pre>


[[Category:Userdef structure members]]
[[Category:Userdef structure members]]

Revision as of 17:24, 6 January 2009

screen_size

Holds the player's screensize - starts at 0 for no HUD and then increments by 4 for each size of screen, up to 64. A value of 4 means the player has just the Health, Ammo and Inventory visible, and 8 & up means they have the full status bar up.

Example:

// Remove the old HUD
setuserdef[THISACTOR].screen_size 0