-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Muting other spectators does not work #372
Comments
Which spectator system are you using? |
Is that mute spectator a function of spectator you are using? Vanilla or ACE3? |
Indeed @Sniperhid that's the mute spectator shortcut. Unless I did not understand how it works. We use vanilla spectator mode. Check out https://github.com/ElTyranos/BG21_PvP/blob/master/onPlayerKilled.sqf |
CBATeam/CBA_A3#694 Could be related to these ? |
Maybe vanilla spectator doesn't pass keybinds through since it got reworked. |
adding
to onplayerkilled.sqf fixes the issue (assigns a new key) |
What is that display 60492? Vanilla spectator? |
Yup |
class Extended_DisplayLoad_EventHandlers {
class RscDisplayEGSpectator {
ADDON = QUOTE(_this call COMPILE_FILE(XEH_spectatorEGDisplayLoad));
};
}; params ["_display"];
_display displayAddEventHandler ["KeyDown", {_this call FUNC(handleKeyDown)}]; params ["", "_key", "_shift", "_ctrl", "_alt"];
if ([_key, [_shift, _ctrl, _alt]] in ((["ACRE2", "HeadSet"] call CBA_fnc_getKeybind) select 8)) then {
[] call acre_sys_core_fnc_toggleHeadset;
};
false This should solve it for vanilla spectator, and we can make it an API function so modded spectators can also call it if they block keys for some reason. Will PR later/tomorrow. I am assuming this doesn't happen with ACE3 spectator? |
Please make a new issue with all the information in the template. Also include which spectator system you are using and any modifications if you have them. |
Arma 3 Version:
1.71
CBA Version:
3.3.1.170504
ACRE2 Version:
2.4.2.962
Mods:
-mod=@CBA_A3;@CUP_Terrains_Core;@BG21_Core;@BG21_IF;@ace;@fow;@IFA3_AIO_LITE;@acre2;
Description:
Steps to reproduce:
[true] call acre_api_fnc_setSpectator
)Where did the issue occur? Dedicated
Placed Modules: None of ACRE. ACRE enabled via init.sqf >
[true, true] call acre_api_fnc_setupMission;
RPT log file: https://paste.ubuntu.com/24799931/
NB :
BG21_Core = Bloodsplatter Lite ;L_MOUNT ; SAN_Headlamps ; Zade_boc ;
BG21_IF = WMT mission framework + compatibility files (IF/ACE/FOW)
https://github.com/iEzhuk/WMT_MapTools
The text was updated successfully, but these errors were encountered: