Dolf86
Member-
Content Count
6 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout Dolf86
-
Rank
Rookie
-
Zenophon's ArmA 3 Co-op Mission Making Framework
Dolf86 replied to Zenophon's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi Zenophon! I tried to display a jpg image inside a Picture control using the dialog system, in particular i wanted to display the "editor preview" (configFile >> "CfgVehicles" >> "vehicleclass" >> "editorPreview"), but i had to change line 249 inside Zen_InvokeDialog.sqf from this: //(lines from 243 to 253 inside "\Zen_FrameworkFunctions\Zen_DialogSystem\Zen_InvokeDialog.sqf" case "PICTURE": { if ((toUpper _controlType) in ["LIST","DROPLIST"]) then { for "_i" from 0 to (lbSize _control - 1) do { _control lbSetPicture [_i, _data select _i]; }; } else { if ([".paa", _data] call Zen_StringIsInString) then { _control ctrlSetText _data; }; }; }; to this: //(lines from 243 to 253 inside "\Zen_FrameworkFunctions\Zen_DialogSystem\Zen_InvokeDialog.sqf" case "PICTURE": { if ((toUpper _controlType) in ["LIST","DROPLIST"]) then { for "_i" from 0 to (lbSize _control - 1) do { _control lbSetPicture [_i, _data select _i]; }; } else { if ([".paa", _data] call Zen_StringIsInString || [".jpg", _data] call Zen_StringIsInString) then { _control ctrlSetText _data; }; }; }; Is there a reason for display only paa images inside a "Picture" control? -
Zenophon's ArmA 3 Co-op Mission Making Framework
Dolf86 replied to Zenophon's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ok, now i get it! I will try soon, thank you! And congratulations for the framework, it became essential to me. Great work! -
Zenophon's ArmA 3 Co-op Mission Making Framework
Dolf86 replied to Zenophon's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ok, i managed to get the x and y when i click on the map. How can i convert screen coordinates to world coordinates since it seems i can't use ctrlMapScreenToWorld? -
Zenophon's ArmA 3 Co-op Mission Making Framework
Dolf86 replied to Zenophon's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi! Is there any code example for the map control (dialog)? I'd like to know how to click on the map and add the selected point coordinates to a list control. -
Dolf86 started following Zenophon's ArmA 3 Co-op Mission Making Framework
-
Intercept: A library for writing Arma Addons in native C++
Dolf86 replied to noubernou's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Hi! Thanks for your amazing work! Is it possible to add C# support using something like CppSharp ?- 52 replies
-
csharp Arma DllExport - C# Extensions
Dolf86 replied to maca134's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Thank you! Do you know if there is a way to update the dll without restart ArmA?