Help - Search - Members - Calendar
Full Version: [SSS] Balloon Switcher
RPG RPG Revolution Forums > Scripting > Script Submissions > RGSS2-Submissions
Shanghai
Shanghai Simple Script - Balloon Switcher
made by Shanghai



Link/Script
Click here

Introduction
Use this call script event to change the balloon sheet:

CODE
name = "BlueBalloons"
$game_system.balloon_sheet = name


It will change the current balloon sheet to the new one and the next balloon that's used will use the new balloon sheet.

Here's a sample balloon sheet.



Balloon sheets must be placed inside of the Graphics\System folder.

Compatibility
This script is not compatible with needles or cactrots or cactrots with needles.

For more Shanghai Simple Scripts
Visit Here.
archeart
ah this looks nice but one question lets say I want to change the color of the balloon?

do I need to script it or just change the color of the balloon?
Garlyle
QUOTE (archeart @ Jun 2 2010, 04:04 AM) *
ah this looks nice but one question lets say I want to change the color of the balloon?

do I need to script it or just change the color of the balloon?
Assuming I'm understanding the script itself right, the color has nothing to do with what's actually written in the script. It's jsut a title.

Here's the deal: What the script does is change what file sheet the game's looking at. In this case, the file sheet with the blue balloons is "blueballoons.png". When the script call is done, it tells the game to look for an image named "blueballoons" from now on, instead of just the normal one. You can change it back by telling it to look for the original, simply by changing the name in quotes.

If you wanted to have a third sheet that was, for instance, a bunch of green balloons, you could save it in your system folder as "greenballoons.png", and then the call script would look like

CODE
name = "greenballoons"
$game_system.balloon_sheet = name


...I hope I got that right?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.