Save-Point
Tileset ID Checker - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: Tileset ID Checker (/thread-9633.html)



Tileset ID Checker - kyonides - 09-25-2024

Tileset ID Checker

by Kyonides

Introduction

Do you need to check if the current tileset is good for your heroes?
Or perhaps you need to make sure it is as dangerous as possible after the heroes messed up with some poor Witch witches?

Well, now you can do that via a script call! Grinning

The Script

Code:
# * Tileset ID Checker XP & ACE * #
#  Scripter : Kyonides Arkanthes
#  2024-02-21

# * Script Call * #
# $game_map.tileset?(TilesetID)

class Game_Map
  def tileset?(t_id)
    @map.tileset_id == t_id
  end
end


NAQ

Q: Why isn't there a VX port as well? Thinking 
A: Because VX only has a single tileset for the entire game! Tongue sticking out

Terms & Conditions

Free for use in ANY game.
Due credit is optional in this case. Happy with a sweat
That's it! Tongue sticking out