FileName: FPTask_PlaySound2D.h
FPTask_PlaySound2D.h
UFPTask_PlaySound2D
Parent Classes: [ UFlowPilotTask ]
UFlowPilotTask
Play 2D Sounds
// Sound Cue to PlayUPROPERTY(EditAnywhere, Category="FlowPilot")TObjectPtr<USoundCue> SoundToPlay; // Sound Wave to PlayUPROPERTY(EditAnywhere, Category="FlowPilot")TObjectPtr<USoundWave> SoundWaveToPlay; // if true, will play as UI soundUPROPERTY(EditAnywhere, Category="FlowPilot")uint8 bIsUISound : 1; // Volume MultiplierUPROPERTY(EditAnywhere, Category="FlowPilot", AdvancedDisplay)float VolumeMultiplier = 1.0f; // Pitch MultiplierUPROPERTY(EditAnywhere, Category="FlowPilot", AdvancedDisplay)float PitchMultiplier = 1.0f; // Play Start TimeUPROPERTY(EditAnywhere, Category="FlowPilot", AdvancedDisplay)float StartTime = 0.0f; // Sound Concurrency SettingsUPROPERTY(EditAnywhere, Category="FlowPilot", AdvancedDisplay)USoundConcurrency* ConcurrencySettings = nullptr; // if True, sound will persist across level changesUPROPERTY(EditAnywhere, Category="FlowPilot", AdvancedDisplay)bool bPersistAcrossLevels = false; // if true, sound actor will auto destroy once finished playingUPROPERTY(EditAnywhere, Category="FlowPilot", AdvancedDisplay)bool bAutoDestroy = true;