You don’t have to worry about the IDC or name, unless you want to use them to identify controls of certain objects (that way you can update an object’s control when you want to redraw it). You can copy from an existing control, or look to the script engine for help font – a pointer to a font object for the font you want to use.sizeEx – the size, in Arma’s stupid relative screen size garbage value, of the height of the font.text – this is the text that is actually drawn in the control.width and height – the size of the control box.xAxis and yAxis – where the top left of the control is placed on the screen.This is alignment in the width AND height of the control display area Alignment – 0 is right aligned, 1 is centered, 2 is left aligned.shadow – determines if the text has a drop shadow (1), an outline (2), or nothing (0).drawControl – determines if the control is drawn (duh).Oh man, what the fuck is all this shit? Well, for drawing text, you need to know: So now what? We have all the classes we need to start making our own controls and drawing things on the screen. While //Size=0x0418īy messing around with the values we can see what effect they have ![]() _ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999)
0 Comments
Leave a Reply. |