mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Don't use modifier for rotation where not needed
This commit is contained in:
parent
c378cd9f12
commit
858c68f8d7
@ -15,7 +15,7 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
if ((!GVAR(pfeh_running)) || {ACE_Modifier == 0}) exitWith {false};
|
||||
if (!GVAR(pfeh_running)) exitWith {false};
|
||||
|
||||
GVAR(TweakedAngle) = ((GVAR(TweakedAngle) + 7.2 * _this) + 360) % 360;
|
||||
|
||||
|
@ -107,16 +107,16 @@
|
||||
<Russian>Отмена</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Explosives_ScrollAction">
|
||||
<English>+Ctrl rotate</English>
|
||||
<German>+Strg drehen</German>
|
||||
<Spanish>+Ctrl girar</Spanish>
|
||||
<French>+Ctrl tourner</French>
|
||||
<Italian>+Ctrl rotazione</Italian>
|
||||
<Czech>+Ctrl otočit</Czech>
|
||||
<Hungarian>+Ctrl forgatás</Hungarian>
|
||||
<Polish>+Ctrl obrót</Polish>
|
||||
<Portuguese>+Ctrl rotaciona</Portuguese>
|
||||
<Russian>+Ctrl Bращать</Russian>
|
||||
<English>Rotate</English>
|
||||
<German>Drehen</German>
|
||||
<Spanish>Girar</Spanish>
|
||||
<French>Tourner</French>
|
||||
<Italian>Rotazione</Italian>
|
||||
<Czech>Otočit</Czech>
|
||||
<Hungarian>Forgatás</Hungarian>
|
||||
<Polish>Obrót</Polish>
|
||||
<Portuguese>Rotaciona</Portuguese>
|
||||
<Russian>Bращать</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Explosives_Jammer_TurnOn">
|
||||
<English>Turn On Thor III</English>
|
||||
|
@ -15,9 +15,9 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
params ["_scroll"];
|
||||
if (GVAR(deployPFH) == -1) exitWith {false};
|
||||
|
||||
if (GETMVAR(ACE_Modifier,0) == 0 || GVAR(deployPFH) == -1) exitWith { false };
|
||||
params ["_scroll"];
|
||||
|
||||
GVAR(deployDirection) = GVAR(deployDirection) + (_scroll * 5);
|
||||
|
||||
|
@ -146,16 +146,16 @@
|
||||
<Portuguese>Aqui não tem areia</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Sandbag_ScrollAction">
|
||||
<English>+Ctrl rotate</English>
|
||||
<German>+Strg drehen</German>
|
||||
<Spanish>+Ctrl girar</Spanish>
|
||||
<French>+Ctrl tourner</French>
|
||||
<Italian>+Ctrl rotazione</Italian>
|
||||
<Czech>+Ctrl otočit</Czech>
|
||||
<Hungarian>+Ctrl forgatás</Hungarian>
|
||||
<Polish>+Ctrl obrót</Polish>
|
||||
<Portuguese>+Ctrl rotaciona</Portuguese>
|
||||
<Russian>+Ctrl Bращать</Russian>
|
||||
<English>Rotate</English>
|
||||
<German>Drehen</German>
|
||||
<Spanish>Girar</Spanish>
|
||||
<French>Tourner</French>
|
||||
<Italian>Rotazione</Italian>
|
||||
<Czech>Otočit</Czech>
|
||||
<Hungarian>Forgatás</Hungarian>
|
||||
<Polish>Obrót</Polish>
|
||||
<Portuguese>Rotaciona</Portuguese>
|
||||
<Russian>Bращать</Russian>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -19,7 +19,7 @@ params ["_scroll"];
|
||||
|
||||
if (isNull GVAR(ladder)) exitWith { false };
|
||||
|
||||
if (GETMVAR(ACE_Modifier,0) == 0) then {
|
||||
if (ACE_Modifier == 0) then {
|
||||
private ["_currentStep"];
|
||||
// Lengthening
|
||||
if (_scroll > 0) then {
|
||||
|
@ -15,9 +15,9 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
params ["_scroll"];
|
||||
if (GVAR(digPFH) == -1) exitWith {false};
|
||||
|
||||
if (GETMVAR(ACE_Modifier,0) == 0 || GVAR(digPFH) == -1) exitWith { false };
|
||||
params ["_scroll"];
|
||||
|
||||
GVAR(digDirection) = GVAR(digDirection) + (_scroll * 5);
|
||||
|
||||
|
@ -82,12 +82,16 @@
|
||||
<French>Annuler la creusée</French>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Trenches_ScrollAction">
|
||||
<English>+Ctrl rotate</English>
|
||||
<German>+Strg drehen</German>
|
||||
<Polish>+Ctrl obrót</Polish>
|
||||
<Italian>+Ctrl ruota</Italian>
|
||||
<Spanish>+Ctrl rotar</Spanish>
|
||||
<French>+Ctrl rotation</French>
|
||||
<English>Rotate</English>
|
||||
<German>Drehen</German>
|
||||
<Spanish>Girar</Spanish>
|
||||
<French>Tourner</French>
|
||||
<Italian>Rotazione</Italian>
|
||||
<Czech>Otočit</Czech>
|
||||
<Hungarian>Forgatás</Hungarian>
|
||||
<Polish>Obrót</Polish>
|
||||
<Portuguese>Rotaciona</Portuguese>
|
||||
<Russian>Bращать</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Trenches_DiggingTrench">
|
||||
<English>Digging Trench</English>
|
||||
|
Loading…
Reference in New Issue
Block a user