mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Minor formating and docu
This commit is contained in:
parent
9162789579
commit
01c20d4544
@ -10,7 +10,7 @@
|
||||
* None
|
||||
*
|
||||
* Example:
|
||||
* [player, dummy] call ace_rearm_fnc_grabAmmo
|
||||
* [dummy, player] call ace_rearm_fnc_grabAmmo
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
@ -33,11 +33,9 @@ REARM_HOLSTER_WEAPON
|
||||
_actionID = _unit getVariable [QGVAR(ReleaseActionID), -1];
|
||||
if (_actionID != -1) then {
|
||||
_unit removeAction _actionID;
|
||||
_unit setVariable [QGVAR(ReleaseActionID), nil];
|
||||
};
|
||||
_actionID = _unit addAction [
|
||||
format ["<t color='#FF0000'>%1</t>",
|
||||
localize ELSTRING(dragging,Drop)],
|
||||
format ["<t color='#FF0000'>%1</t>", localize ELSTRING(dragging,Drop)],
|
||||
'(_this select 0) call FUNC(dropAmmo)',
|
||||
nil,
|
||||
20,
|
||||
|
@ -9,7 +9,7 @@
|
||||
* None
|
||||
*
|
||||
* Example:
|
||||
* [player, vehicle] call ace_rearm_fnc_rearm
|
||||
* [player] call ace_rearm_fnc_rearm
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -27,8 +27,7 @@ _dummy = [_unit, _magazineClass] call FUNC(createDummy);
|
||||
[_dummy, _unit] call FUNC(pickUpAmmo);
|
||||
|
||||
_actionID = _unit addAction [
|
||||
format ["<t color='#FF0000'>%1</t>",
|
||||
localize ELSTRING(dragging,Drop)],
|
||||
format ["<t color='#FF0000'>%1</t>", localize ELSTRING(dragging,Drop)],
|
||||
'(_this select 0) call FUNC(dropAmmo)',
|
||||
nil,
|
||||
20,
|
||||
|
Loading…
Reference in New Issue
Block a user