EventRegionBox
#1
EventRegionBox
ACE


For Patrollers and Friendly NPC's

by Kyonides

Introduction

The present script allows you to restrain the movements of any given event to a very specific region on the map.

If there are multiple areas on the map with the same Region ID, that Event will simply stay in its respective area.

If a given Event's Region ID has never been defined, that Event will move randomly and there is no way to know where it may go next.

Please take a look at the following screenshots because they have been setup in a very specific way.

Map Setup

Script Calls

Set a given Event's Region ID - 3 Options:
Code:
this_event.fixed_region_id = Number
$game_map.events[EventID].fixed_region_id = Number
set_events_region_id(RegionID, EventID10, etc.)

Set a given Event's Custom Route and add a Script Call there:
Code:
move_same_region


Terms & Conditions

Free for use in any game! Gamer
Due credit is mandatory.
Do not repost it anywhere!
That's it! Tongue sticking out


Attached Files
.jpg   eventregionboxace01.jpg (Size: 163.84 KB / Downloads: 8)
.jpg   eventregionboxace02.jpg (Size: 54.61 KB / Downloads: 8)
.jpg   eventregionboxace03.jpg (Size: 64.46 KB / Downloads: 8)
"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 }


Messages In This Thread
EventRegionBox - by kyonides - 08-11-2023, 08:01 AM
RE: EventRegionBox - by kyonides - 08-12-2023, 06:47 AM
RE: EventRegionBox - by kyonides - 08-14-2023, 12:30 AM



Users browsing this thread: 1 Guest(s)