SE Play on screen flash for damage snippet
I apparently either have a script the removes the sound, or it was never there and i didn't notice.Either way, I couldn't find a snippet so I made it myself.
All this does is play what ever you define as Actor Damage in the database, when you take damage from floor tiles (or poison if that works for you, it didn't for me and I had to create a common event to do poison I don't know why).
Paste below all other scripts to make sure it doesn't still mess up.
This is an overwrite method, it's default except sound.play.
EDIT:
Use as you please no need to credit.
Code:
class Game_Screen
def start_flash_for_damage
start_flash(Color.new(255,0,0,128), 8)
Sound.play_actor_damage
end
end
本贴来自国际rpgmaker官方论坛作者:Genesis7处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/se-play-on-screen-flash-for-damage-snippet.108495/
页:
[1]