{"name":"CT ANIMATED TEXTURE","title":"CT ANIMATED TEXTURE","type":"topic","url":"https://community.bistudio.com/wiki/CT_ANIMATED_TEXTURE","revid":170214,"updated":"2020-12-02T12:23:56Z","aliases":["DialogControls-AnimTexture"],"markdown":"### Introduction\n\nUnknown control type.\n\n#### Related commands & functions\n\n- Commands: General\n- Commands: UI Eventhandlers\n\n#### Related User Interface Eventhandlers\n\n- Events: General\n\n### Alphabetical Order\n\n> [!NOTE]\n> TokenNames common to most controls, such as x, y, w, h, text, idc... can be found **here**.\n\n> [!WARNING]\n> Not all of the listed attributes might have an effect nor might the list be complete. All attributes were gathered with [this](https://github.com/7erra/BIKI.VR/blob/master/fnc/generateCTPage.sqf) config crawler.\n\n```cpp\n#define CT_ANIMATED_TEXTURE 45\n```\n\n#### C\n\n##### colorBar\n\n**Type:** Array\n\n**Description:** n/a\n\n```cpp\ncolorBar[] = {1,0,0,1};\n```\n\n##### colorFrame\n\n**Type:** Array\n\n**Description:** n/a\n\n```cpp\ncolorFrame[] = {0,0,0,1};\n```\n\n#### T\n\n##### texture\n\n**Type:** String\n\n**Description:** n/a\n\n```cpp\ntexture = \"#(argb,8,8,3)color(0,0,1,1)\";\n```\n\n### Default Classes\n\n> [!NOTE]\n> **Arma 3:** **AddOns:** Classes need to be initialised first with `class SomeClass;`\n>\n> ---\n>\n> **Missions:** Since Arma 3 v2.02 one can use `import SomeClass;` to initialise a class (see the import keyword).\n>\n> In older versions, use `\"Default\" call BIS_fnc_exportGUIBaseClasses;` and paste the result into the description.ext.\n\n#### RscProgressNotFreeze\n\n```cpp\nclass RscProgressNotFreeze\n{\n    deletable = 0;\n    fade = 0;\n    idc = -1;\n    type = 45;\n    style = 0;\n    shadow = 0;\n    x = 0;\n    y = 0;\n    w = 0.5;\n    h = 0.1;\n    texture = \"#(argb,8,8,3)color(0,0,0,0)\";\n};\n```","sections":[{"heading":"Introduction","level":3,"markdown":"Unknown control type."},{"heading":"Related commands & functions","level":4,"markdown":"- Commands: General\n- Commands: UI Eventhandlers"},{"heading":"Related User Interface Eventhandlers","level":4,"markdown":"- Events: General"},{"heading":"Alphabetical Order","level":3,"markdown":"> [!NOTE]\n> TokenNames common to most controls, such as x, y, w, h, text, idc... can be found **here**.\n\n> [!WARNING]\n> Not all of the listed attributes might have an effect nor might the list be complete. All attributes were gathered with [this](https://github.com/7erra/BIKI.VR/blob/master/fnc/generateCTPage.sqf) config crawler.\n\n```cpp\n#define CT_ANIMATED_TEXTURE 45\n```"},{"heading":"C","level":4,"markdown":""},{"heading":"colorBar","level":5,"markdown":"**Type:** Array\n\n**Description:** n/a\n\n```cpp\ncolorBar[] = {1,0,0,1};\n```"},{"heading":"colorFrame","level":5,"markdown":"**Type:** Array\n\n**Description:** n/a\n\n```cpp\ncolorFrame[] = {0,0,0,1};\n```"},{"heading":"T","level":4,"markdown":""},{"heading":"texture","level":5,"markdown":"**Type:** String\n\n**Description:** n/a\n\n```cpp\ntexture = \"#(argb,8,8,3)color(0,0,1,1)\";\n```"},{"heading":"Default Classes","level":3,"markdown":"> [!NOTE]\n> **Arma 3:** **AddOns:** Classes need to be initialised first with `class SomeClass;`\n>\n> ---\n>\n> **Missions:** Since Arma 3 v2.02 one can use `import SomeClass;` to initialise a class (see the import keyword).\n>\n> In older versions, use `\"Default\" call BIS_fnc_exportGUIBaseClasses;` and paste the result into the description.ext."},{"heading":"RscProgressNotFreeze","level":4,"markdown":"```cpp\nclass RscProgressNotFreeze\n{\n    deletable = 0;\n    fade = 0;\n    idc = -1;\n    type = 45;\n    style = 0;\n    shadow = 0;\n    x = 0;\n    y = 0;\n    w = 0.5;\n    h = 0.1;\n    texture = \"#(argb,8,8,3)color(0,0,0,0)\";\n};\n```"}],"categories":["Control Types"],"groups":["GUI"]}