2 hours ago
(This post was last modified: 1 hour ago by DerVVulfman.)
(9 hours ago)Ace_V Wrote: Yup! I've been using that blank-event-as-barrier style for most of the game. It works well despite being very basic, particularly for smaller maps. This is the first time on a big map though, and I've had to adjust. Managed to free up 200 tiles by simplifying the zones.
For countering lag, I intend on adding switch changes at various choke points. So the roaming monsters only appear when you approach that area and disappear when you leave.
Well, a good number of anti-lag scripts can also prevent lag based on an event being actively checked or not. So they can not only deter slowdown based on graphics being updated but whether they are being actively checked or executed. And merely running a flag to turn them on or off won't do much because their graphics (even empty) is still being updated. Now, not ALL anti-lag systems are created equal. But its something to consider.
As to having areas with wandering monsters. I decided to have a little fun.
You know what kinda fun I mean, right?
This dude on the left cannot go outside the two colored blocks.
Rather than recreating the window, I took my Enhanced Encounter Areas script and modified the method which determines if the player is in any rectangular area. In doing so, I just created a new add-on patch so Events cannot go OUTSIDE any area defined for them.
HIS Event has the following in his 'List of Event Commands:
@>Comment: EEA
@>Comment: EEA_Areas [1,2]
@>Comment: EEA_Return 0
So this event is stuck within two areas defined by EAA_Areas value (from the Enhanced Encounter Areas script). And if the event attempts to cross and go outside the area(s), it uses a techique defined by the EAA_Return value.
0=Step backwards once
1=Step backwards twice
2=Turn and step away
3=Turn and take two steps away
4=Turn, step away and turn back (stationary)
5=Mooooove to the event's original spot
6=BOOM! Just teleports/bamps to its original spot
Just finishing it up now.
EDIT: EEP. I forgot to add the sidebar comments that I now do!!!

![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)