Difference between revisions of "ISKernel:HUD (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 33: Line 33:
 
*[[ISSession:HUDGroup (Command)|HUDGroup (Command)]]
 
*[[ISSession:HUDGroup (Command)|HUDGroup (Command)]]
 
*[[LavishGUI#Commands|LavishGUI Commands]]
 
*[[LavishGUI#Commands|LavishGUI Commands]]
 +
*[[LavishScript:Commands|LavishScript Commands]]
 +
*[[IS:Kernel#Commands|Kernel Commands]]
 
*[[IS:Session#Commands|Inner Space Session Commands]]
 
*[[IS:Session#Commands|Inner Space Session Commands]]
*[[LavishScript:Commands|LavishScript Commands]]
+
 
  
  
 
{{Command-Stub}}
 
{{Command-Stub}}
 
[[Category:Inner Space]]
 
[[Category:Inner Space]]
[[Category:Inner Space Session]]
+
[[Category:Inner Space Kernel]]
[[Category:Inner Space Session Commands]]
+
[[Category:Inner Space Kernel Commands]]

Revision as of 04:32, 19 October 2005

Syntax

Command Difficulty Rating
HUD
Usage Intermediate
Level of Understanding Intermediate
Computer Savvy Intermediate
Logic Intermediate

HUD -list|-fontsize <#>|-remove <name>|-add <name> <#,#> <text>

Forms

  • HUD -list - lists Inner Space HUD Elements
  • HUD -fontsize <#> - changes the default font size for HUD Elements
  • HUD -add <name> <#,#> <text> - Creates a HUD Element with <text> at <#,#> position
  • HUD -remove <name> - removes a HUD element

Examples

List all HUD Elements

  • HUD -list
Output
Inner Space HUD Elements
-------------------
'fps' [20,5] [Color:FFFFFFFF] [Group:FPS Indicator] [Size:12] 'FPS: ${Display.FPS}'
'system memory indicator' [20,20] [Color:FFFFFFFF] [Group:Memory Indicator] [Size:12] 'System RAM Available: ${
'texture memory indicator' [20,35] [Color:FFFFFFFF] [Group:Memory Indicator] [Size:12] 'Texture Memory Availabl

Change HUD default fontsize

  • HUD -fontsize 8
Output
Current HUD default font size: 8

Add a HUD Element

  • HUD -add FPS 0,0 ${FPS}
Adds a HUD element named "FPS" at location 0,0 on the screen, with the value of ${FPS}. The value is parsed when the HUD is updated, not right away, so this value automatically updates.

Remove a HUD Element

  • HUD -remove FPS
Removes the "FPS" element

See Also