RMMZ [SOLVED] javascript for detecting current map tileset id?

Titanor

Veteran
Veteran
Joined
Jul 22, 2013
Messages
31
Reaction score
4
First Language
english
Primarily Uses
N/A
OK, I have a quick question about Tilesets.
can you use JavaScript to detect the Tileset id of the current map.

I have a seed based weather system in my game and I have a event on every map that tell the game whether it is indoors or outdoors, however I would like to change it to a single common event that detects Tileset ID of the current map.

Is that possible?

And if so, what is the script call to do it?
 

Tea's Jams

I'm human
Global Mod
Joined
Mar 28, 2017
Messages
1,181
Reaction score
2,809
First Language
English
Primarily Uses
RMMZ
$dataMap.tilesetId
 

Latest Threads

Latest Profile Posts

Is it weird that i feel overwhelmed from reading codes that i wrote few months ago? Lol.

I dont even know where to continue!:hsad:
Ami
Gosh,I want to Play this Game Again one more again!

Seeing my Own Character & Kannono Once Again!
Tales_of_the_World_Radiant_Mythology_3_JPN_PSP-Coverart.jpg
I've been a bit to depressed to get work done on the game lately. Don't worry, I'll be okay.
LunarFlareStudios wrote on Solar_Flare's profile.
Hey, my name is Lunar Flare Studios, and you're Solar Flare? That's so weird!

Forum statistics

Threads
115,303
Messages
1,088,765
Members
149,943
Latest member
Chymora
Top