Games & Design > RM Help & Support

Play Audio from another folder?

(1/1)

Kirroha:
I tried using this:

Audio.bgm_play
("Audio/VO/GuardP_0001")

After I put that audio in the respective folder, but it kept turning up as an error. Is there anything I can do?

Sarkilas:
Works fine for me, assuming you don't have a line break after the method call. Should be:

Audio.bgm_play("Audio/VO/GuardP_0001")

Kirroha:
I can't seem to remove the line break, though. It's too long. /noob.

Sarkilas:
You are doing this in a script event call? If that's the case, you'd need to do it like this:

--- Code: ---m="Audio/VO/GuardP_0001"
Audio.bgm_play(m)
--- End code ---

Kirroha:
Yep, it works now. Thanks, Sarkilas! :)

Navigation

[0] Message Index

Go to full version