APlayerController::ClientPlaySoundAtLocation

Play sound client-side at the specified location

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerController.h"

Syntax

void ClientPlaySoundAtLocation
(
    class USoundBase * Sound,
    FVector Location,
    float VolumeMultiplier,
    float PitchMultiplier
)

Remarks

Play sound client-side at the specified location

Parameters

Parameter

Description

Sound

Sound to play

Location

Location to play the sound at

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