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

DawoleQ

Villager
Member
Joined
Sep 24, 2021
Messages
13
Reaction score
9
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
45,107
Reaction score
16,120
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

Villager
Member
Joined
Sep 24, 2021
Messages
13
Reaction score
9
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
45,107
Reaction score
16,120
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
4,572
Reaction score
1,290
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

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

Latest Threads

Latest Profile Posts

Because I don't have the patience to wait for the 14th.
FofHkc7aQAEvcmg

Happy (early) valentine!
Would anyone be interested in an FFX-style quotes plugin that shows a little gab window when an actor is about to kill/crit an enemy or with a chance for a quote on things like inflicting states and hitting weaknesses?
and I just figured out how login sessions work(keep users logged for days). Might make a tutorial tomorrow if anyone shows interest
1675897032343.png
Working on an important character's model today: Saken! One of Cyprian's friends from the Hofau school. There he is as a teen student on the left and as an adult Deputy Minister of Love on the right. He dyed his hair.
I always have a hard time writing mean characters. To me, their words sound like a normal comment I receive on a regular basis, but to others it's too much.

Forum statistics

Threads
128,618
Messages
1,195,866
Members
169,207
Latest member
AfonsoPereira
Top