APlayerController::ClientPlaySound

Play sound client-side (so only the client will hear it)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Syntax

void ClientPlaySound
(
    class USoundBase * Sound,
    float VolumeMultiplier,
    float PitchMultiplier
)

Remarks

Play sound client-side (so only the client will hear it)

Parameters

Parameter

Description

Sound

Sound to play

VolumeMultiplier

Volume multiplier to apply to the sound

PitchMultiplier

Pitch multiplier to apply to the sound

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss