Save-Point
Balloon SE - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: Balloon SE (/thread-2347.html)



Balloon SE - woratana - 01-22-2009

Balloon SE
Version 1.0
by Woratana
Release Date: 15/05/2008


Introduction
This script will play SE when show balloon.
It's just small snippet I wrote in less than a min. :P

Anyway, I feels like balloon with SE is better than silent balloon, so I
scripted this~
I'll be using this in my Foxsuke Project. ;)

Enjoy~! :)


Script
Place it above main
Code:
#==============================================================================
# [VX Snippet] ? Ballon SE ?
#-------------------------------------------------------------------------
# ? by Woratana [woratana@hotmail.com]
# ? Thaiware RPG Maker Community
# ? Released on: 15/04/2008
# ? Version: 1.0
#==============================================================================

class Sprite_Character < Sprite_Base

Balloon_SE = 'Load' # SE (Sound Effect) file name, it must be in folder SE
Balloon_SE_Volume = 80 # SE volume (0 - 100) Default: 80
Balloon_SE_Pitch = 100 # SE pich (50 - 150) Default: 100

alias wora_ballse_sprcha_strball start_balloon
def start_balloon
RPG::SE.new(Balloon_SE,Balloon_SE_Volume,Balloon_SE_Pitch).play
wora_ballse_sprcha_strball
end
end


Instruction
Just put script above main. :lol:


Author's Notes
Free for use in your project if credit is included.