I was working on transferring some old logic brick based games of mine to python and I came across a load of sound actuators that needed to be dealt with.
It isn’t exactly convenient to have 10 sound actuators linked all over the place, so I wanted to either compress them into 1 actuator that would swap sound files in game or find a way to play them in the python script using the current modules included in Blender.
I couldn’t find any python command to do it, so I tried the first idea of 1 sound actuator, but I am unable to get python to assign a new sound file to the actuator:
AttributeError: ‘KX_SoundActuator’ object has no attribute ‘fileName’
Any ideas on what to do?