Save-Point
KCheckEventByCoords - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: KCheckEventByCoords (/thread-5634.html)



KCheckEventByCoords - kyonides - 11-06-2015

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.


RE: KCheckEventByCoords - kyonides - 11-07-2015

BUMP!

A New Version Of My Script Is Available Now!

It's possible to check if you insist on going forward even if the event is setup to react by pressing a OK button or any other non directional button. Wait! There's also a way to check if you left behind an event after standing next to it. That means that both options are now capable of activating custom event's reactions.