KCheckEventByCoords
#1
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.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
#2
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.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }




Users browsing this thread: 3 Guest(s)