![]() |
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
Normally, the played sound can be sound and Stop by AtomComponent.
This is to control the number of episodes that are automatically generated, and to set the control of the field indicator and the way.
Create "Atom Concurrency" from the content browser.
Set the "Max Count" of AtoConcurrency to 2.
This time, set "Resolution Rule" to "Stop Farthest Prevent New".
With this setting, the sound with the farthest distance between the sound source and the listener will Stop, or if all sound are at the same distance, no new playback will be performed.
This Item allows you to configure what happens when the playback limit is reached.
Create a SpawnSound2D node on the Blueprint.
At this time, the Audio Item also has a node with the same name, but it must be an Atom Item node.
In addition to specifying the sound, specify the above assets in "ConcurrencySettings" of the SpawnSoun2D node.
In the image, pressing 3 on the keyboard will play a new sound. Even if you enter multiple times on the keyboard, only up to two will be played.
THIS SERVICE MAY CONTAIN TRANSLATIONS POWERED BY GOOGLE. GOOGLE DISCLAIMS ALL WARRANTIES RELATED TO THE TRANSLATIONS, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF ACCURACY, RELIABILITY, AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.