Lunyc

Villager
Member
Joined
Feb 11, 2017
Messages
26
Reaction score
2
First Language
Italian
Primarily Uses
RMMV
I have a skill that applies a state effect that lasts for 3 turns and I'd like to play a sound effect when the state wears off, so that the player is warned that the effect ended. Any ideas?
 

Rubescen

Veteran
Veteran
Joined
Jan 4, 2016
Messages
173
Reaction score
186
First Language
English
Primarily Uses
RMMZ
Yanfly's buff/states core plugin will allow for this, if you want to use their stuff. Unfortunately, I don't think you can get it for free anymore, unless you already have it.

if you do, here's the code for the notebox on the state. (replace buzzer1 with whatever file you want to play)
Code:
  <Custom Leave Effect>
AudioManager.playSe({name: 'buzzer1', pan: 0, pitch: 100, volume: 100});
  </Custom Leave Effect>
 

Lunyc

Villager
Member
Joined
Feb 11, 2017
Messages
26
Reaction score
2
First Language
Italian
Primarily Uses
RMMV
wow it really was that easy lol... thanks for the help, man, I've never noticed that code
 

Latest Posts

Latest Profile Posts

..of the major old school series that began in the 80s- early 90s, I still haven't beaten 'a' Zelda game. Mario 64 was the first Mario I've beaten. I don't know if I should give that honor to Link to the Past or A Link Between Worlds(I currently own both). Well technically I've haven't beaten a Sonic either (Game Genie doesn't count =P).
headshot_headinfo.jpg
Time to add the "headshot" concept into the game so that people may actually aim at the heads when shooting zombies and get massive damage and armor-pen bonus as rewards. :kaojoy:
(The red area is just for visually debug purposes right now. But, it's possible that I will add something that displays the weak spots of enemies in the future.)
Worked on a cutscene skip domino effect using Maker Systems' script as the basis. Basically if I have a batch of cutscenes in a row on different maps, now when you skip one cutscene it will skip the entire set. No more spamming X to skip a scene every new map.

Oh and it will work regardless of where you do it from in the set. Convenient!
seems absolutely WILD to me now all the hundreds of hours of work I used to do in 2k(3) over a decade ago with a resolution of 320x240. that seems so insanely TINY now, seemed so normal at the time!
Playing Aroma Indosiar theme song.
Aroma is an Indonesian TV show about cooking. :)

Forum statistics

Threads
115,380
Messages
1,089,400
Members
150,086
Latest member
Cees
Top