YANFLY ENGINE ACE - GAB WINDOW

RPG Maker VX Ace

A window for misc chatter.

  • YF
  • 01/23/2012 10:12 PM
  • 4894 views


DL Link

Sometimes there’s random jibber jabber that does not warrant a message box. The Gab Window fulfills that jibber jabber by placing such text outside of the message window box and at the corner of the screen. The gab text will appear briefly and then disappear, not showing up again until the gab text is updated with something else.



These script calls can only be used from a map. The Gab Window will not appear in battle or anywhere else.

gab(string)

This will cause the Gab Window to appear with the string shown. Text codes can be used inside the string. When using text codes, remember to use “\\” for a single slash.

gab(string, actor_id)

This will cause the Gab Window to appear with the string and the actor’s sprite. Text codes can be used inside the string. When using text codes, remember to use “\\” for a single slash. There are special ID’s that can be used in place of the actor_id:
0 – Party Leader
-1 – 1st non-leader member.
-2 – 2nd non-leader member. So on.

gab(string, char_name, char_index)

This will cause the Gab Window to appear with the string shown and a sprite using char_name as the filename of the character sprite and char_index as the index of the character sprite. Text codes can be used inside the string. When using text codes, remember to use “\\” for a single slash.

clear_gab

This will cause the gab window to clear itself and immediately go invisible. This will also allow a previously used gab prior to the clearing to reappear immediately if followed up by another gab.



For those who would like to hide their Gab Windows, bind HIDE_SWITCH to a switch that controls the Gab Window’s visibility.



If the Switch is ON, then the window is hidden. If the Switch is OFF, the window is visible. If you set no switch to the HIDE_SWITCH constant, the Gab Window will always be visible unless hidden by the message window over it.

— And that’s all, folks! —

Original Blog Page

Posts

Pages: 1
Can you still move around and interact with the environment while the gab message runs?
Can this script be used to display values held in variables?
Pages: 1