Can i play sound by State's with Yanflys Plugins?

Sajiki

Villager
Member
Joined
Jun 17, 2016
Messages
8
Reaction score
1
First Language
German
Primarily Uses
Hello Guys,

i use Yanfly plugins and have a state what 10 rounds, i would set a sound by everyone turn.

i use this code:

Code:
<Custom Battle Effect>
se: mySound01, 90, 100, 0
</Custom Battle Effect>
But it's not working, what can i to?

Mfg
Sajiki
 

JamesRyan

Game Designer
Veteran
Joined
Sep 13, 2014
Messages
674
Reaction score
208
First Language
Vietnamese
Primarily Uses
RMMV
Of course, it is not working because it is not a javascript code. You need to put javascript code there to make it work. This might help you:
Code:
AudioManager.playSe({name: "filename", pan: 0, pitch: 100, volume: 100});
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,141
Reaction score
13,642
First Language
English
Primarily Uses
RMVXA

I've moved this thread to Plug-in Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Will be revealing my project to the forum soon.
Ohboi, I'mma learning how to mix/sing better warming up (by singing game songs) for eventually singing my team's game's main theme. (Plus singing for my Patrons XD)
For anyone using my Extended Generator, would you like a discord server where you can exchange ideas, help, suggestions and news about the development ?
My gf got Addicted by making Momochi!
Meet Foochi the Buttout Ghost!

Forum statistics

Threads
99,605
Messages
967,220
Members
131,283
Latest member
isabelx10
Top