• Civilization 7 has been announced. For more info please check the forum here .

play specific unit selection sound?

Lutefisk Mafia

Inscrutable Enforcer
Joined
Jun 15, 2007
Messages
544
Location
Minnesota
Is there an easy way to call a specific unit selection sound via python?

I know that the dwarf units have a list of sounds from which a random one is chosen when you click on that unit.

Can I get a specific one of those? For example, can I somehow just call for the "That's the way!" dwarf sound? I am looking for a way to do this in python because it is for a scenario and I cant change or add to the audio def XML files.

Thanks!
 
Top Bottom