This:
Code: Select all
Name soundName = 'keen/pain'
String str = soundName;
A_PlaySound(Sound(str));
Code: Select all
Name soundName = 'keen/pain'
A_PlaySound(soundName);
Moderator: GZDoom Developers
Code: Select all
Name soundName = 'keen/pain'
String str = soundName;
A_PlaySound(Sound(str));
Code: Select all
Name soundName = 'keen/pain'
A_PlaySound(soundName);
Why not just call [wiki=PlaySound]the ACS version[/wiki]?RaveYard wrote:in my specific case I have a static function called from ACS which plays a sound