mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Tagging - Add: Support of localized string for tagging interaction (#7819)
* Add support of localized string * Add: Support of localized string for tagging interaction https://github.com/acemod/ACE3/pull/7819#issuecomment-663993956 * Update addons/tagging/functions/fnc_applyCustomTag.sqf Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com> Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
This commit is contained in:
parent
f2dfcceb67
commit
d3727d7c27
@ -27,6 +27,11 @@ params ["_identifier", "_displayName", "_requiredItem"];
|
||||
if !(GVAR(cachedTags) select {_x select 0 == _identifier} isEqualTo []) exitWith {
|
||||
INFO_2("Tag with selected identifier already exists: %1 (%2)",_identifier,_displayName)
|
||||
};
|
||||
|
||||
if (isLocalized _displayName) then {
|
||||
_this set [1, localize _displayName];
|
||||
};
|
||||
|
||||
_requiredItem = configName (configFile >> "CfgWeapons" >> _requiredItem); // Convert To config case
|
||||
_this set [2, _requiredItem];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user