Download

FMOD API Examples for PlayEventAttached() and PlayEventAtLocation()

Can someone show me examples of these being used in code please? I just want to see them in action, and haven’t found any examples in documentation.



static class UFMODAudioComponent* PlayEventAttached(UFMODEvent* Event, USceneComponent* AttachToComponent, FName AttachPointName, FVector Location, EAttachLocation::Type LocationType, bool bStopWhenAttachedToDestroyed, bool bAutoPlay);

static FFMODEventInstance PlayEventAtLocation(UObject* WorldContextObject, UFMODEvent* Event, const FTransform& Location, bool bAutoPlay);


Thanks for any help.