11-06-2015, 06:40 PM
KCheckEventByCoords
Plug & Play Script
by Kyonides-Arkanthos
Introduction
This script allows you to quickly find the specific event your hero is looking for (while you're not always expected to figure this out) by eliminating the need to loop through all the map events and replacing it by a more specific search method.
Instructions
Copy and paste the script of your preference above Main.
Use any of these script calls to find any map event just in case you are not sure what's its ID number.
$game_map.event_xy(X-Coord, Y-Coord)
$game_map.events_xy[[X-Coord, Y-Coord]]
The New Script Combo includes a more "eye-catching" feature. It lets you use ANY TYPICAL RMXP BUTTON to trigger a custom event's reaction. This script combo is KCheckEventByCoords + NewActionKeys namely.
Download Link
Download Scripts
Templates
These are examples of the templates you may need to create in the same location as your Game.rxproj file. The TXT file should be named new action keys.txt. Oh, don't forget to leave an empty line every four lines of your TXT. It will be read by my script and saved in a rxdata file in your Data directoy, meaning you don't need to distribute your game with the TXT file because it's just a temporary file.
Code:
map: 1
events: 1
keys: a
Code:
map: 1
events: 1
keys: a
map: 1
events: 2
keys: shift
Code:
map: 1
events: 1,3
keys: a
map: 1
events: 2
keys: shift
FAQ
Just copy and paste it above Main like you would do with any other script.
Credits and Related Stuff
Free to use in any game but don't forget to include me in your credits.