DialogControls-AnimTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... are not listed here.}}" to "{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... can be found [[Arma:_GUI_Configuration...)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here. '''
{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... can be found [[Arma:_GUI_Configuration#Common_Properties|'''here''']].}}


==CT_ANIMATED_TEXTURE=45==
==CT_ANIMATED_TEXTURE=45==
{| border="1" align="left" cellpadding="3" cellspacing="0" |
{| class="wikitable" border="1" align="left" cellpadding="3" cellspacing="0" |
! colspan="3" bgcolor="#bbbbff" | Properties
! colspan="3" bgcolor="#bbbbff" | Properties
|-
|-
Line 12: Line 12:
| string
| string
| Relative path to the file used for the texture from the mission folder
| Relative path to the file used for the texture from the mission folder
|
|-
|-
|}<br ar="all">
|}<br clear="all">


 
* '''Example Config:'''
==Example==
<syntaxhighlight lang="cpp">class RscProgressNotFreeze  
<code><nowiki>class RscProgressNotFreeze
{
{
idc = -1;
  idc = -1;
type = 45;
  type = 45;
style = 0;
  style = 0;
shadow = 0;
  shadow = 0;
x = 0;
  x = 0;
y = 0;
  y = 0;
w = 0.5;
  w = 0.5;
h = 0.1;
  h = 0.1;
texture = "#(argb,8,8,3)color(0,0,0,0)";
  texture = "#(argb,8,8,3)color(0,0,0,0)";
};</nowiki></code>
};</syntaxhighlight>
[[Category: Dialogs]]
[[Category:Dialogs|AnimTexture]]

Revision as of 11:16, 20 March 2020

TokenNames common to most controls, such as x, y, w, h, text, idc... can be found here.

CT_ANIMATED_TEXTURE=45

Properties
Name Type Remark
texture string Relative path to the file used for the texture from the mission folder


  • Example Config:
class RscProgressNotFreeze 
{
  idc = -1;
  type = 45;
  style = 0;
  shadow = 0;
  x = 0;
  y = 0;
  w = 0.5;
  h = 0.1;
  texture = "#(argb,8,8,3)color(0,0,0,0)";
};