Difference between revisions of "ISSession:hudelement (Data Type)"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
== Members == | == Members == | ||
+ | *[[DataType:string|string]] Name: Name of the HUD element | ||
+ | *[[DataType:int|int]] X: X position of the left edge of the HUD element | ||
+ | *[[DataType:int|int]] Y: Y position of the upper edge of the HUD element | ||
+ | *[[DataType:int|int]] Color: Color, in rrggbb, of the element (colors usually represented in hexadecimal, so the int member Hex may be useful to you) | ||
+ | *[[DataType:int|int]] Filter: Bit-field indicating filters used by this element (currently the only filter used is 1) | ||
== Methods == | == Methods == | ||
+ | ''(these methods require Inner Space 0.74)'' | ||
+ | *'''SetName['''name''']''': Changes the name of the HUD element | ||
+ | *'''SetPosition['''#''','''#''']''': Sets the position of the HUD element | ||
+ | *'''SetColor['''#''']''': Sets the color of the HUD element | ||
+ | *'''SetFilter['''#''']''': Sets the filter of the HUD element | ||
+ | *'''SetText['''text''']''': Sets the text of the HUD element | ||
+ | *'''Delete''': Deletes the HUD element | ||
== Returns == | == Returns == | ||
Line 11: | Line 23: | ||
== See Also == | == See Also == | ||
* [[LavishScript:Data Types|LavishScript Data Types]] | * [[LavishScript:Data Types|LavishScript Data Types]] | ||
− | * [[IS:Session|Inner Space Session]] | + | * [[IS:Session#Data_Types|Inner Space Session Data Types]] |
Revision as of 18:24, 24 February 2005
Description
Members
- string Name: Name of the HUD element
- int X: X position of the left edge of the HUD element
- int Y: Y position of the upper edge of the HUD element
- int Color: Color, in rrggbb, of the element (colors usually represented in hexadecimal, so the int member Hex may be useful to you)
- int Filter: Bit-field indicating filters used by this element (currently the only filter used is 1)
Methods
(these methods require Inner Space 0.74)
- SetName[name]: Changes the name of the HUD element
- SetPosition[#,#]: Sets the position of the HUD element
- SetColor[#]: Sets the color of the HUD element
- SetFilter[#]: Sets the filter of the HUD element
- SetText[text]: Sets the text of the HUD element
- Delete: Deletes the HUD element