How to stop BGM when using a skill and continue the BGM after an effect from it ends?

DawoleQ

Warper
Member
Joined
Sep 24, 2021
Messages
3
Reaction score
4
First Language
Polish
Primarily Uses
RMVXA
Basically, I want to do something like this:

(In fight)
-Skill start
resolve effect (adds a state for 3 turns)
*BGM stops*
-Skill ends
-3 turns pass
*BGM continues*

For context, this is a time stop ability, that adds a paralyse state to everyone but the user for 3 turns

I don't know if I'm writing this post right because it's my first time writing a post. Feel free to correct me if I wrote something wrong.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,138
Reaction score
15,534
First Language
English
Primarily Uses
RMMV

I've moved this thread to RGSS3 Script Requests. Thank you.



Battle action sequences can only be changed via script.
 

DawoleQ

Warper
Member
Joined
Sep 24, 2021
Messages
3
Reaction score
4
First Language
Polish
Primarily Uses
RMVXA
Do you know how to and what script to use? I'm not good with script.
[move]RGSS3 Script Requests[/move]

Battle action sequences can only be changed via script.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,138
Reaction score
15,534
First Language
English
Primarily Uses
RMMV
As a moderator, I moved your thread to the correct place. That's all I needed to do, or had time to do. You will need to wait until someone else with the time and knowledge answers your question.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,371
Reaction score
801
First Language
English
Primarily Uses
RMVXA
tested and confirmed working.
Use Shaz State Commands script
add a state to the skill that will control the bgm
set your conditions on the state for autoremoval (3 turns)
and a note tag as follows (changing the number for the CE you want to use)
onadd: $game_temp.reserve_common_event(1)
onremove: $game_temp.reserve_common_event(2)

CE as follows
1. 1634354786125.png
2. 1634354806539.png
Set the variable to whatever variable you are going to use.
 

DawoleQ

Warper
Member
Joined
Sep 24, 2021
Messages
3
Reaction score
4
First Language
Polish
Primarily Uses
RMVXA
It worked! Thank you so much for the help! :D
 

Latest Threads

Latest Posts

Latest Profile Posts

Apparently Amazon Prime users get free Genshin Impact stuff like primogems and whatnot every month, but I'm not sure I ever want to fall into the abyss of F2P ever again.
Doing RPG Maker News for 26th Nov to 2nd Dec (2021)

"Yeah. It's been a rough road lately. But that's the thing about the Rangers. It doesn't matter how hard it gets, or how many of them fall. They never stop fighting. The Rangers NEVER stop fighting".

Angela Deth, you are a hero of mine. Sorry for my first run of Wasteland 3.
We must press on. For all those we couldn't save. For all those we might yet save.
FirestormNeos wrote on DarkPlasmaBall's profile.
asking this here instead of the thread in question to avoid derailing it, but I'm curious; is there a particular reason you'd include a "Terms of Use" for an RPG Maker game? Like, are there multiplayer features for the game you're working on?

Forum statistics

Threads
117,144
Messages
1,104,923
Members
153,211
Latest member
Necrozys
Top