Code: Select all
play sound cam_albedo
Code: Select all
play sound ("cam_{}".format(waifu_name_dir))
Any help is welcome, thanks in advance!
Code: Select all
play sound cam_albedo
Code: Select all
play sound ("cam_{}".format(waifu_name_dir))
Code: Select all
default cam_albedo = 'Pickup_Coin.ogg'
default waifu_name_dir = 'albedo'
init python:
def sound_var(last_part, first_part='cam_'):
var_name = first_part + last_part
if hasattr(store, var_name):
return getattr(store, var_name)
else:
return None
# The game starts here.
label start:
"..."
play sound sound_var(waifu_name_dir)
"... ..."
$ waifu_name_dir = '???'
play sound sound_var(waifu_name_dir)
"?!"
Users browsing this forum: Bing [Bot]