Rename Advanced Throwing component to be in-line with other advanced_ components (#4318)

* Rename Advanced Throwing component to be in-line with other advanced_ components

* Rename wiki page as well

* Add redirect from old wiki page
This commit is contained in:
jonpas
2016-09-03 01:39:34 +02:00
committed by GitHub
parent 12de3265b8
commit 0e1f2828a9
34 changed files with 48 additions and 47 deletions

View File

@ -0,0 +1,32 @@
/*
* Author: Jonpas
* Updates controls hints based on current state.
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* call ace_advanced_throwing_fnc_updateControlsHint
*
* Public: No
*/
#include "script_component.hpp"
if (!GVAR(showMouseControls)) exitWith {};
private _primed = ACE_player getVariable [QGVAR(primed), false];
private _mmb = [localize LSTRING(ChangeMode), localize LSTRING(Extend)] select (ACE_player getVariable [QGVAR(dropMode), false]);
if (!_primed) then {
_mmb = [_mmb, localize LSTRING(Cook)] joinString " / ";
};
[
localize LSTRING(Throw),
[localize ELSTRING(common,Cancel), ""] select _primed,
_mmb
] call EFUNC(interaction,showMouseHint);