Page MenuHomeFeedback Tracker

IsPlayerSpeaking() returns the value of the local game and not for the player
Confirmed Internally, UrgentPublic

Description

I am trying to display a mic icon next to the player, who is currently talking, but it's not working, because the IsPlayerSpeaking() function acts like a static function checing if the local client player is speaking, but not if this player is speaking, causing the icon to display for all players when I am speaking instead for only me. Same when someone else speaks, it doesn't show for him

DayZPlayerImplement player = null // Get the player instance from somewhere
if (player.IsPlayerSpeaking()) {
    micWidget.Show(true);
} else {
    micWidget.Show(false);
}

Details

Severity
Block
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General

Event Timeline

inkihh added a subscriber: inkihh.Jun 21 2024, 3:17 PM
komer added a subscriber: komer.Jun 23 2024, 7:10 PM
Geez changed the task status from New to Assigned.Jun 25 2024, 12:32 PM
Geez changed the task status from Assigned to Confirmed Internally.Jun 27 2024, 12:11 PM