display3denCopy – Arma 3
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[ *(https?\:\/\/.+\.bistudio\.[^ ]+) ([^ ]+) *\]" to "{{ExternalLink|link= $1|text= $2}}") |
(removed workaround that has now been fixed) |
||
Line 8: | Line 8: | ||
In order to display some text inside the edit box, one has to define the data. This is done via an [[uiNamespace]] variable like so: | In order to display some text inside the edit box, one has to define the data. This is done via an [[uiNamespace]] variable like so: | ||
[[uiNamespace]] [[setVariable]] ["display3DENCopy_data", ["Text displayed as header", "Text the user can copy and inspect"]]; | [[uiNamespace]] [[setVariable]] ["display3DENCopy_data", ["Text displayed as header", "Text the user can copy and inspect"]]; | ||
[[Category:GUI Topics]] | [[Category:GUI Topics]] | ||
[[Category: Eden Editor: Modding]] | [[Category: Eden Editor: Modding]] |
Revision as of 15:32, 5 October 2021
In Eden Editor, display3denCopy can be accessed to offer the user a way to inspect and copy long texts.
Open the Display
The display can be opened in Eden Editor by executing findDisplay 313 createDisplay "display3denCopy";
. While the display is mainly meant to be used inside the Editor it can also be used outside of it. To do so, just replace 313
with the IDD of your parent display.
Adding Custom Text
In order to display some text inside the edit box, one has to define the data. This is done via an uiNamespace variable like so:
uiNamespace setVariable ["display3DENCopy_data", ["Text displayed as header", "Text the user can copy and inspect"]];