Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Set Map's Display Name ACE
#1
Set Map's Display Name ACE

by Kyonides Arkanthes

Introduction

Do you need to show the map's display name at any given moment?
Like when you stepped on a transparent event facing downwards or upwards or anywhere else...
Take advantage of it and make a script call that will set the temporary name and show it on screen TV for you!

Code:
# * Set Map's Display Name ACE * #
#   Scripter : Kyonides Arkanthes
#   2022-12-16

# $game_map.display_name = "New Name"
# map_display_name = "New Name"

# $game_map.clear_display_name

class Game_Map
  def display_name=(new_name)
    @open_display_name = true
    @display_name = new_name
  end
  def display_name() @display_name || @map.display_name end
  def clear_display_name() @display_name = nil end
  attr_accessor :open_display_name
end

class Game_Interpreter
  def map_display_name=(name)
    $game_map.display_name = name
  end
end

class Scene_Map
  alias :kyon_map_dis_name_scn_map_up :update
  def update
    kyon_map_dis_name_scn_map_up
    update_display_name if $game_map.open_display_name
  end

  def update_display_name
    $game_map.open_display_name = nil
    @map_name_window.open
  end
end

Terms & Conditions

It's just a free script, guys!
Please include my nickname in your game credits. Winking
I really hope this won't be the only script of mine that you're using in game project. Happy with a sweat
"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 }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Correct Character Sprite Display MechanicalPen 6 16,433 02-10-2014, 11:20 PM
Last Post: Taylor
   Remodeled Damage Display (RTAB) cogwheel 0 4,767 03-05-2008, 06:01 AM
Last Post: cogwheel
   Remodeled Damage Display (Regular Variant) cogwheel 0 4,546 03-04-2008, 06:43 AM
Last Post: cogwheel
   Tactical Command Display Claihm 0 3,162 03-04-2008, 05:49 AM
Last Post: Claihm
   FFX, FFX=2, FFXII damage display Selwyn 0 4,822 03-03-2008, 06:25 AM
Last Post: Selwyn
   One-Letter-at-a-Time Text Display Script Anonymous 0 4,822 03-03-2008, 05:41 AM
Last Post: Anonymous
   Modifying Damage Display RPG Advocate 0 3,810 03-03-2008, 05:35 AM
Last Post: RPG Advocate
   Arbitrary Strings in Damage Display RPG Advocate 0 4,170 03-02-2008, 08:20 AM
Last Post: RPG Advocate
   Image Damage Display Trickster 0 4,652 03-02-2008, 05:55 AM
Last Post: Trickster



Users browsing this thread: