Allow cursor for interactions

This commit is contained in:
esteldunedain 2015-04-20 13:54:20 -03:00
parent f928f37e26
commit 9295393dd6
3 changed files with 15 additions and 1 deletions

View File

@ -23,6 +23,12 @@ class ACE_Settings {
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorSelfInteraction"; displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorSelfInteraction";
}; };
class GVAR(AlwaysUseCursorInteraction) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorInteraction";
};
class GVAR(UseListMenu) { class GVAR(UseListMenu) {
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";

View File

@ -33,7 +33,9 @@ GVAR(lastTimeSearchedActions) = -1000;
GVAR(useCursorMenu) = (vehicle ACE_player != ACE_player) || GVAR(useCursorMenu) = (vehicle ACE_player != ACE_player) ||
visibleMap || visibleMap ||
{(_menuType == 1) && {(isWeaponDeployed ACE_player) || GVAR(AlwaysUseCursorSelfInteraction) || {cameraView == "GUNNER"}}}; {(_menuType == 1) && {(isWeaponDeployed ACE_player) || GVAR(AlwaysUseCursorSelfInteraction) || {cameraView == "GUNNER"}}} ||
{(_menuType == 0) && GVAR(AlwaysUseCursorInteraction)};
if (GVAR(useCursorMenu)) then { if (GVAR(useCursorMenu)) then {
createDialog QGVAR(cursorMenu); createDialog QGVAR(cursorMenu);
// The dialog sets: // The dialog sets:

View File

@ -12,6 +12,12 @@
<Hungarian>Mindig legyen a saját cselekvés kurzorja látható</Hungarian> <Hungarian>Mindig legyen a saját cselekvés kurzorja látható</Hungarian>
<Italian>Mostra sempre il cursore per le auto interazioni</Italian> <Italian>Mostra sempre il cursore per le auto interazioni</Italian>
</Key> </Key>
<Key ID="STR_ACE_Interact_Menu_AlwaysUseCursorInteraction">
<English>Always display cursor for interaction</English>
<Spanish>Mostrar siempre el cursor para la interacción</Spanish>
<French>Toujours afficher le curseur pour les interactions</French>
<Italian>Mostra sempre il cursore per le interazioni</Italian>
</Key>
<Key ID="STR_ACE_Interact_Menu_UseListMenu"> <Key ID="STR_ACE_Interact_Menu_UseListMenu">
<English>Display interaction menus as lists</English> <English>Display interaction menus as lists</English>
<Spanish>Mostrar los menus de interacción como listas</Spanish> <Spanish>Mostrar los menus de interacción como listas</Spanish>