Difference between revisions of "ISSession:HUDAdd (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
 +
{{CMD-DR|HUDAdd|Intermediate|Beginner|Beginner|Intermediate}}
 +
HUDAdd <name> <#,#> <text>
  
 
== Description ==
 
== Description ==
 +
Adds an element to the HUD at the given position, with the given text.  The text is not immediately parsed (for '''${}''') -- it will be parsed at the time it is displayed on the HUD.  Note that any HUD element with a text value of "NULL" will not be displayed.
  
 
== Examples ==
 
== Examples ==
 +
*HUDAdd fps 0,0 ${FPS}
 +
*HUDAdd SystemRAM 20,20 "System RAM Available: ${System.MemFree}MB/${System.MemTotal}MB"
 +
*HUDAdd TextureMem 20,35 "Texture Memory Available: ${Display.TextureMem}MB"
  
 
== See Also ==
 
== See Also ==
Line 10: Line 16:
  
 
{{Command-Stub}}
 
{{Command-Stub}}
 +
[[Category:Inner Space]]
 +
[[Category:Inner Space Session]]
 +
[[Category:Inner Space Session Commands]]

Latest revision as of 22:58, 25 May 2005

Syntax

Command Difficulty Rating
HUDAdd
Usage Intermediate
Level of Understanding Beginner
Computer Savvy Beginner
Logic Intermediate

HUDAdd <name> <#,#> <text>

Description

Adds an element to the HUD at the given position, with the given text. The text is not immediately parsed (for ${}) -- it will be parsed at the time it is displayed on the HUD. Note that any HUD element with a text value of "NULL" will not be displayed.

Examples

  • HUDAdd fps 0,0 ${FPS}
  • HUDAdd SystemRAM 20,20 "System RAM Available: ${System.MemFree}MB/${System.MemTotal}MB"
  • HUDAdd TextureMem 20,35 "Texture Memory Available: ${Display.TextureMem}MB"

See Also