Search the Community
Showing results for tags 'hpp'.
Found 3 results
-
Adding image to background control in dialog
sagent54 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Good day everyone! Week ago i started learning SQF and made some little experience to build light dialogs. So i decided to add image in my dialog but anything i found at Bohemia forum and Wiki is how to add image to hints. I'll be glad if someone can explain me how can i do this with .hpp language. Thanks in advance! -
Iv had this problem for months when using the ORBAT. I keep getting the same error when i try to run the game with the exported faction in the add on section, its extremely frustrating as these factions take nearly 3 days to create, iv had to delete them then remake them multiple times. Could someone please help me as i want to make a RMC faction, RAF, RAF regiment RN and so on. Asked this question on the ALIVE forum months ago and no one has replied , posted it on reddit and no one replied either, I even uninstalled and reinstalled ARMA twice hopefully someone here could help me out or redo it for me. (sorry for the crap quality) sorry for sounding so petty. Let me know if i should send you the folder or config etc. Please help https://ibb.co/0BG6Lcc https://ibb.co/rpSWxFn
-
RscControlsGroup, Text Box with Scroll Bar Script. How to?
chrs posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
class b_textScrollBox: RscControlsGroup { idc = -1; text = ""; //--- ToDo: Localize; x = 0.371094 * safezoneW + safezoneX; y = 0.654 * safezoneH + safezoneY; w = 0.381563 * safezoneW; h = 0.341 * safezoneH; class Controls { class b_textBox: RscStructuredText { idc = 1000; text = "b_textBox"; //--- ToDo: Localize; x = 0.291094 * safezoneW + safezoneX; y = 0.22 * safezoneH + safezoneY; w = 0.381563 * safezoneW; h = 0.341 * safezoneH; }; }; }; Hi, I'm trying to create a script that will expand the RscStructuredText text box above's height dynamically based on the text passed to the script. For example: 0 = ["this is some test text..."] execVM "addText.sqf"; So far Ive figured out how to expand and shrink the height of the text box. For an example of what I mean this script would double the height of the RscStructuredText control: _t = _this select 0; (_display displayCtrl 1000) ctrlSetStructuredText (parseText _t); _pos = ctrlPosition (_display displayCtrl 1000); _height = 2 * (_pos select 3); (_display displayCtrl 1000) ctrlSetPosition [(_pos select 0),(_pos select 1),(_pos select 2),_height]; (_display displayCtrl 1000) ctrlCommit 0; However I'd like to expand the height with precision so the scroll bar only goes to the bottom on the text. Could anyone point me in the right direction? Thanks.- 1 reply
-
- rsccontrolsgroup
- rscstructuredtext
-
(and 3 more)
Tagged with: