AlertWindow ACE
#1
AlertWindow ACE
versions 1.2.0 & 0.8.0

by Kyonides

Introduction

There was a forumer that "stubbornly" wanted to use pop up windows that looked pretty much like VX ACE's default Window_MapName class. This means that it would show up the same way the map name does.

Obviously, it will not be triggered after a map transfer for obvious reasons. Happy with a sweat

Just in case you did not know this, my script allows you to pass either a single line of text or an Array of lines as its first parameter.

Happy with a sweat Don't worry, my friends! The rest of the parameters are totally optional! Winking

Convenient Features

You can set an additional button to close the alerts.
\gs[1] gets replaced by the corresponding game switch, i.e. ON or OFF.
\v[1] gets replaced by the corresponding game variable.
Set the Alert Window's Coordinates: $game_system.set_alert_xy(X, Y)

Examples for Passing a Single Line of Text:

Code:
pop_up("Some text")
Alert.add("Some text")

Examples for Passing 2+ Lines of Text:

Code:
texts = ["Line1", "Line2"]
pop_up(texts)
Alert.add(texts)

Optional Parameters:

Code:
pop_up(text, 60)
Alert.add(text, frames, 60)

Code:
pop_up(text, 60, 1, 120, 80)
Alert.add(text, 60, 1, 120, 80)

...and a few other arguments. Happy with a sweat

DOWNLOAD DEMO
Either 1.2.0 or 0.8.0

Terms & Conditions

Free for use in ANY game. Gamer
Due credit is mandatory. Serious 
That's it! Grinning
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
#2
Some Convenient Features Have Been Added to the Script!
  • You can set an additional button to close the alerts.
  • \gs[1] gets replaced by the corresponding game switch, i.e. ON or OFF.
  • \v[1] gets replaced by the corresponding game variable.
  • Set the Alert Window's Coordinates: $game_system.set_alert_xy(X, Y)

And yes, there is a link to a demo featuring the latest version of AlertWindow! Grinning

Side Note:

\gs needs to be used since version 0.8.0 because a simple \s escape character could be treated as a white space by Ruby.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
#3
The Script Brings Brand New Extra Features Now!

The recent release of version 1.0.0 comes with some extra goodies:
  • \ev[1] gets replaced with the corresponding event's name.
  • \en[1] gets replaced with the corresponding enemy's name.
  • \i! makes the alert take precedence over the remaining ones.
    It will try to display it on screen as soon as possible.

Happy with a sweat Keep in mind that you better use 'single quotes' if you're planning to use those custom escape characters.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
#4
The Script's Latest Feature is a Very Old one!

Laughing I know that doesn't seem to make any sense to you, but it's totally true! Shocked
Our good old friend, the text alignment that was lost in version 0.8.0 has made a great comeback Two Thumbs Up! in version 1.1.0, my dear friends. Grinning
And nope, you don't have to fear anything for you won't lose any of the typical escape codes at all. Winking

Just in case you want to manually set the text alignment before a group of alerts show up, use this:

Code:
$game_system.alert_align = 1
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
#5
A New Release Has Come!

Since version 1.2.0 came out, you can include icons in your alerts and they will get aligned just like as rest of its contents does by default.

Happy with a sweat Oh but it also includes a new feature, one I personally dislike but some forumers might find it useful under certain circumstances.

Thinking Did you ever feel like the player shouldn't move an inch while the alert is displayed on screen?
Look Up Well, some mysterious guy called Tw0Face certainly did so now anybody can set the STOP_PLAYER_MOVEMENT Constant to true to make sure the hero won't move at all.

Code:
STOP_PLAYER_MOVEMENT = true

Set it to false or nil to enable all movements at any time.

Thinking Do you need to change that setting in game?
Happy with a sweat Guess what? You can do it if you feel like it! Grinning

Code:
$game_system.alert_stop_player = true
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }




Users browsing this thread: 2 Guest(s)