mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
14 lines
324 B
Plaintext
14 lines
324 B
Plaintext
// by commy2
|
|
#include "script_component.hpp"
|
|
|
|
private ["_ctrl", "_index", "_text"];
|
|
|
|
_ctrl = _this select 0;
|
|
_index = _this select 1;
|
|
_text = _this select 2;
|
|
|
|
if (_text != Str(ARR_SELECT(GVAR(ParsedTextCached),_index,""))) then {
|
|
GVAR(ParsedTextCached) set [_index, _text];
|
|
_ctrl ctrlSetStructuredText parseText _text;
|
|
};
|