Hi,
Let me question how to use Audio Player Device on Verse. As the attached picture, I would like to use “Play” member of specified index array of audio_player_device class.
However, when building this code, it causes Error:
Script error 3509: This variable expects to be initialized with a value of type audio_player_device, but this initializer is an incompatible value of type void.
It seems that on the following code
var Voice : audio_player_device = if(AudioPlayerDevice[0]):
the variable type is set “void”, though I try to set “audio_player_device” type.
What is the correct way to use audio_player_device class array?
Thank you,