mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Make attach/detach hint look uniform (#5900)
Add space at the bottom of hint to make it look nicer
This commit is contained in:
parent
0eccca6174
commit
5371fb9eef
@ -41,7 +41,7 @@ if (_unit == _attachToVehicle) then { //Self Attachment
|
||||
_attachedItem attachTo [_unit, [0.05, -0.09, 0.1], "leftshoulder"];
|
||||
if (!_silentScripted) then {
|
||||
_unit removeItem _itemClassname; // Remove item
|
||||
[_onAttachText] call EFUNC(common,displayTextStructured);
|
||||
[_onAttachText, 2] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
_unit setVariable [QGVAR(attached), [[_attachedItem, _itemClassname]], true];
|
||||
} else {
|
||||
|
@ -83,4 +83,4 @@ if (_itemDisplayName == "") then {
|
||||
_itemDisplayName = getText (configFile >> "CfgMagazines" >> _itemName >> "displayName");
|
||||
};
|
||||
|
||||
[format [localize LSTRING(Item_Detached), _itemDisplayName]] call EFUNC(common,displayTextStructured);
|
||||
[format [localize LSTRING(Item_Detached), _itemDisplayName], 2] call EFUNC(common,displayTextStructured);
|
||||
|
@ -101,4 +101,4 @@ private _attachList = _attachToVehicle getVariable [QGVAR(attached), []];
|
||||
_attachList pushBack [_attachedObject, _itemClassname];
|
||||
_attachToVehicle setVariable [QGVAR(attached), _attachList, true];
|
||||
|
||||
[_onAttachText] call EFUNC(common,displayTextStructured);
|
||||
[_onAttachText, 2] call EFUNC(common,displayTextStructured);
|
||||
|
Loading…
Reference in New Issue
Block a user