mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Allow cursor for interactions
This commit is contained in:
parent
f928f37e26
commit
9295393dd6
@ -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";
|
||||||
|
@ -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:
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user