Help - Search - Members - Calendar
Full Version: Store Event ID and Store Terrain ID
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
venjulienecorpuz
I am using an evented shooting system in RM2K3 and it worked well... I looked for similar commands in RMXP so i can make an evented shooting system there as well but couldn't find the Store Event ID and Store Terrain ID... or maybe it just has different names? can someone tell me?thanks...
Necrile
I'm not sure of a way to store event ID, but you can store terran id by setting a variable to a character's (event's) terrain tag.
Night_Runner
To store an events ID, have it run the code:
CODE
$game_variables[2] = @event_id


And to get the terrain of a particular position, have a event run the code:
CODE
$game_variables[3] =
$game_map.terrain_tag(0, 0)

where (0, 0) is the x & y coordinate of the point of interest.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.