Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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 }
#2
Exciting Update!

Ever since version 0.5.0 your Patrollers are able to go through Fixed Region ID events and still hit the player or block its path if ever needed! Grinning

And guess what? A demo is now available for any of you to playtest it! Gamer 

Make a given Event's a Patroller - 3 Options:
Code:
this_event.patrol!
# $game_map.events[EventID].patrol!
# set_patrollers(true, EventID10, etc.)

Remove a given Event's Patroller Status - 3 Options:
Code:
this_event.dont_patrol!
$game_map.events[EventID].dont_patrol!
set_patrollers(nil, EventID10, etc.)
"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 }
#3
This Update Will Make You Succumb to Laziness! Shocked

Ever since the release of version 0.6.0 you can skip many script calls and just leave a note in the Event Name's Box to turn any event into a Patroller (Enemy NPC) or a Sheep (Friendly NPC). Two Thumbs Up!

Quick Way to Setup Patrollers and Sheep

Enter the following in the Event's Name Box:

For a Patroller
Code:
EventName<P>
EventName<p>

For a Sheep - 1 stands for its specific Region ID

Code:
EventName<R1>
EventName<r1>
"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: