Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Bug Map Name Window not showing
- Original author: Eliaquim
- Original date: March 5, 2022
- Source thread: https://forums.rpgmakerweb.com/threads/map-name-window-not-showing.145438/
- Source forum path: Game Development Engines > RPG Maker MZ Support > RPG Maker MZ Feedback
Summary
Hi there! Bug I found a bug where the Map Name Window will not show when you enter on a map that has a show text command on an autorun/parallel event. How to replicate
Archived First Post
Hi there!
Bug
I found a bug where the Map Name Window will not show when you enter on a map that has a show text command on an autorun/parallel event.
How to replicate
Sample project download here. (One Drive - 4,27MB .zip)
Cause
Suggestion
Remove the above code and on the
Bug
I found a bug where the Map Name Window will not show when you enter on a map that has a show text command on an autorun/parallel event.
How to replicate
- Put a name to be displayed in the map settings.
- On that same map, create an autorun/parallel event and put a show text command to open.
- Hit playtest. As soon as the map is loaded, the show text command will display a message and it will not show the map name window.
- Download the sample project to see that happening.
Sample project download here. (One Drive - 4,27MB .zip)
Cause
JavaScript:
Scene_Map.prototype.updateMapNameWindow = function() {
if ($gameMessage.isBusy()) {
this._mapNameWindow.close();
}
};
Suggestion
Remove the above code and on the
Game_Map.prototype.setup code, add:
JavaScript:
if($dataMap.displayName){
this.enableNameDisplay()
}else{
this.disableNameDisplay()
}
JavaScript:
Game_Map.prototype.setup = function(mapId) {
if (!$dataMap) {
throw new Error("The map data is not available");
}
this._mapId = mapId;
this._tilesetId = $dataMap.tilesetId;
this._displayX = 0;
this._displayY = 0;
this.refereshVehicles();
this.setupEvents();
this.setupScroll();
this.setupParallax();
this.setupBattleback();
this._needsRefresh = false;
};
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...