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,764
Reaction score
15,321
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,920
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

It does sometimes get a little embarrassing that I often come here to ask for help with something and seldom have anything to actually show for it. If there is one thing though I can commend myself for, it's for sticking with an idea I've been tinkering with for this long now and gradually making headways. Even though I've been reserved about my progress, I can say I'm farther now than where I initially started.
I'm gonna put my project on pause for a tiny bit so I can explore the engine outside of it... Winging it can only get you so far LMFAO
Have seen some of my favorite people here posting and helping others with questions today -- love to see it!
Haven't been on here actively in awhile, project is going strong my biggest issue is the STORY, i'm refining the plot and learning so much i decided to take a writers class to improve even more but the programming and functionality of the game is stepping up nicely!

Forum statistics

Threads
116,128
Messages
1,096,011
Members
151,549
Latest member
nbayoungboy
Top