Creating a Terrain ID variable from two coordinates

Status
Not open for further replies.

Luth

Veteran
Veteran
Joined
Apr 29, 2014
Messages
148
Reaction score
69
First Language
French
Primarily Uses
RMMZ
Hello there :)

I try to figure out how to replicate a command from RPG Maker 2003 (Store Terrain ID) : The whole idea is to get a Terrain ID variable from coordinates stocked in two other variables (X and Y).

This allows to check the Terrain ID on which every event is located... pretty useful but I can't get to understand how to do it.
I can get the x and y coordinates of an event but I can't understand how to get its ID..!

Any help would be apprecied :)
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,758
Reaction score
15,317
First Language
English
Primarily Uses
RMMV
Get Location Info, on tab 3 of the event commands, will allow you to do this.
 

Luth

Veteran
Veteran
Joined
Apr 29, 2014
Messages
148
Reaction score
69
First Language
French
Primarily Uses
RMMZ
Oh my... I'm very confused for asking.

That was really clear but i guess I was on a "Seek for a very precise expression rather than a concept" mode...

Delete thread if needed, or perhaps it will help people searching for those tags...

Have a nice day, thanks for the quick reaction :)
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
9,050
Reaction score
5,917
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

unintentionally made a track that sounds straight out of Yume Nikki
Revisiting one of my older projects in a long time to work some more on the mechanics. I've been working on- and off-again for about a year now on recreating the Force and Mystic systems from Wild ARMs. And I think I've finally made some good breakthroughs on that!

Still, it is not perfect and I may post my thoughts at a later time to see if there are any other suggestions or alternatives I've missed.
actor name string, why you gotta be case sensitive like that?
Doing RPG Maker News for 26th October 2021

My entire world, full of monsters and treasures, will likely be done by the end of the year. After that it's all NPCs and side quests... then done. I'm never making an open world game again xD

Forum statistics

Threads
116,106
Messages
1,095,857
Members
151,511
Latest member
jjjjjamjam
Top