Skip to content

Commit

Permalink
Added start text parameter to text
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorAU committed Apr 28, 2020
1 parent ed30acd commit b35cae6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion addon/systems/displayText.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

params [
["_multiLine",false,[true]],
["_startText","",[""]],
["_title","",[""]],
["_code",{},[{}]],
["_button1","",[""]],
Expand All @@ -37,4 +38,8 @@ private _return = {
};
};

#include "_common.inc"
#include "_common.inc"

_ctrlInput ctrlSetText _startText;
//_ctrlInput ctrlSetTextSelection [count _startText,0]; // TODO: activate this once the command enters production branch
ctrlSetFocus _ctrlInput;

0 comments on commit b35cae6

Please sign in to comment.