Wanna do some eventing duels?

Oh, some code I use litterally 100 times a day, those I will never forget, like $gameVariables.value(X), I sometimes use multiple times in one call, like this:
$gameVariables.setValue($gameVariables.value(1),$gameVariables.value($gameVariables.value(2)))

😛 It looks so complicated, but all it does is set the value of one var to be equal to another var. And which vars those are, are the ones with the ID's equal to the value of var 1 and var 2. 😛 And this is even a simple one.
Am I allowed to critique the current entries, to give advice to the posters and give them a chance to improve their events before the competition ends? Or is that against the spirit of the competition?
Uhm... Pfff, do I have to decide that? 😛 Hahaha... If I have to make the call, I'd say: Wait till the competition is over. I know the whole idea is to teach each other, but if we start improving each others applications, then who would be the one winning, the helped, or the helper? 😛

I wouldn't mind seeing your application, though. 😛 That would teach everyone! 😉
I understand. I guess I kinda felt like the people who posted earliest are at somewhat of a disadvantage, because other people can come along and look at what they did, and then improve upon it for their own entries. So I thought it'd help make things more fair if I pointed out some of the weaknesses of the earlier entries, to give those people a chance to improve upon them before somebody else does. That would also set the bar higher for people who are entering later, which could mean that the contest winds up yielding even more creative events in the end. And I think at the end, we'd all wind up learning even cooler things.

That, and I noticed that literally every entry so far has some timer related flaws that prevent it from satisfying the rules (according to my interpretation) of the challenge, so I just thought some help might be in order.

But I do see your point, and since it's your contest, I don't wanna try to hijack it or anything.

I wouldn't mind seeing your application, though. 😛 That would teach everyone! 😉
I'll prooobably submit one, if nobody comes up with the same idea before I get around to it. I think that my biggest concern is that if I were a participant, then it could seem like a conflict of interest if I were to critique other entries. I wouldn't want it to seem like I'm dissing somebody else's event just because it got more votes than mine, or something like that, ya know?
Would people really be petty enough to plagiarize in a competition where literally nothing is to gain? 😛 That is not too smart. I don't really think people actually do that, though. Here is why: My entry was the first, and I used a very simple but effective timer, which keept track of the 5 minutes up to 1/1000 second exact, and not 1 single person copied it. 😛

But uhm... You think you should really give advice to people who present a higher voted application than you? 😛 Haha. Those who make mistakes that you know are easily avoid, will not be voted above you, right?

But uhm... My entry has timer related flaws? 😛 I hardly doubt that. Don't you know my work is flawless? 😛 Haha. 😛 Just kidding, but... My timer is pure math and my math in this case is not off. I know so, because I saw someone else explaining my math to a third person. 😛 That wouldn't ever be possible if my math was wrong. 😛 If you found a flaw anyway, I'll love to hear it. (I won't change my entry, though)

But the challenge is really not about winning or losing. There is nothing to gain and nothing to lose. Other than bragging rights. 😛 It's about practice and learning. So, in that line, you helping them would be a good thing.
Would people really be petty enough to plagiarize in a competition where literally nothing is to gain? 😛 That is not too smart. I don't really think people actually do that, though.
I don't necessarily mean "plagiarize". I mean, when you see what other people are doing right/wrong, it makes it easier to try to one-up them.

But uhm... You think you should really give advice to people who present a higher voted application than you? 😛 Haha. Those who make mistakes that you know are easily avoid, will not be voted above you, right?
It honestly kinda depends on whether or not the people who are voting are able to spot the flaws. If nobody is pointing out these things before voting occurs, problems could go unnoticed by the voters. There could be a super nasty bug in a person's event, but if nobody realizes it, then it won't really count against that person. I'm just saying that *if* that happened, then it'd look like poor sportsmanship if one of the people who lost the competition were to try to point it out. The opposite could also happen. Somebody might write a really awesome event, but if voters don't understand why it's awesome, then it won't get votes.

But uhm... My entry has timer related flaws? 😛 I hardly doubt that. Don't you know my work is flawless? 😛 Haha. 😛 Just kidding, but... My timer is pure math and my math in this case is not off. I know so, because I saw someone else explaining my math to a third person. 😛 That wouldn't ever be possible if my math was wrong. 😛 If you found a flaw anyway, I'll love to hear it. (I won't change my entry, though)
Your entry's flaw is that the monster will never respawn unless the player leaves the map and comes back. So if the player doesn't leave the map, they could stand there staring at the dead monster for 3 hours, and it won't ever come back. It could be that I'm misinterpreting the rules of the challenge, but to me, that seems to be in violation of this requirement: "A random enemy must spawn in its place after 5 minutes". I mean, I guess if you're super super literal about it, 3 hours is technically *after* 5 minutes... but ya know.

The other entries all have the opposite problem. If the player stays on the same map, the monster will respawn. But if they leave the map and come back, the timer will start over from the beginning again. Their solutions also all cause the timer to pause during battle and when menus are open.
That wasn't a flaw, though. That was by design.

I use (a more complicated version of) my event in my own projects, with a longer cooldowns and a larger pool of enemies, because I do not want enemies to suddenly appear out of nowhere. 😛 The new enemy spawns... after 5 minutes... When you re-enter the map. 😛 Haha.

Also, I just hate looping parallel event, specially if I have 30 or more at the same time on my map. If I would tell others they did something wrong, it would be the looping parallels. 😛

I think we have different interpretations of the challenge. It isn't about who gets the details right... It is about who gets the most efficient and yet easy to build events. That is the goal. When people see an event and think: "Oh crap, that is smart! I will do it like that too." That is how you win votes. 🙂 Right?

There is 1 point you raise about the timer resetting... That I do agree with. That means, even if you leave the map and come back, the enemy still spawns out of no-where. But then again, some people had some really interesting solutions, like the one with the grave stone. I liked that a lot. (Even though their respawn time was nothing near 5 minutes, haha.)
Here's another method that utilizes $gameSystem.playtime();
Spoiler: Page 1
1644039643683.png

Lines:
  1. Set variable 65 to the current playtime in seconds + 300.
  2. Initiate the battle.
  3. Face the event downwards so the damage sprite is always the same.
  4. Set Self-switch 'A' to 'On' and initiate page 2.

Spoiler: Page 2
1644039915134.png

Lines:
  1. Displays a balloon icon over the enemy event to show it's in a temporary state.
  2. Check to see if the value of Game Variable 65 is less than or equal (<=) to the current playtime.
  3. Move route that begins if line 2 returns true.
  4. Change the event image back to the original image.
  5. Wait 10 frames.
  6. Make the event sprite jump to signify that it's awake. (No offset used makes the event jump straight up an land on the same tile it jumped from).
  7. Wait 20 frames.
  8. Reset Self-switch 'A', resetting the event back to page 1, which also only runs when line 2 returns true.
  9. BLANK
  10. The else handler that controls what happens when line 2 returns false.
  11. Wait 60 frames if line 2 returns false.
  12. BLANK
  13. End Event page 2.
Since Page 2 is parallel, it will loop when it gets to the end. There is a wait command in the else handler so the parallel event doesn't try to loop every frame.

I suppose you could modify the initial respawn variable and page 2 conditional to make it more accurate, to account for the amount of frames until the $gameSystem.playtime() is set to update, but that probably wouldn't be necessary for most setups, as this will respawn the enemy within 59 frames of 5 minutes, at most.


Using $gameSystem.playtime(); will allow the respawn to be tracked pretty much anywhere. If there is an in-game scene or menu where the playtime isn't tracked, I am not familiar with it.
Using $gameSystem.playtime(); will allow the respawn to be tracked pretty much anywhere. If there is an in-game scene or menu where the playtime isn't tracked, I am not familiar with it.
Yeah, it should be tracked anywhere, since it's based on frame counts. Though time will stop counting while you're outside of the game, which can be desirable/undesirable based on the situation. $gameSystem.playtime() is what I used in my solution as well.
So my solution is a little over-engineered, but I'm wearing some pretty fancy pants today, so I couldn't help it. I don't even really know where to start explaining it, so I guess I'll just mention what I was shooting for:

1.) I liked that some of the previous entries had it set up so that the NPC image (on the map) changes based on which monster is randomly selected. But I didn't like that they required a unique event page for each image/monster. Partially because that's just not how I roll, and partially because it makes it more of a pain to extend/edit the system later on. Imagine if you had multiple copies of that event in your game, and then you suddenly decided that you wanted to add a new monster... you'd have to go back and add new pages to every copy of the event, and edit your random generator command (on every event) to account for the increased range. So my highest priority goal was to make an event that gives a unique map image to each monster, without needing a new page for each monster, and one that I can add or remove monsters without having to actually edit the event.

2.) The other thing is that I noticed that all of the existing entries share one common opportunity for improvement... Basically, it's that the events are written in a way that doesn't support multiple instances to exist simultaneously. What I mean is, if you copy and paste the event, so that there are two random monsters on the map, it won't work. They're written to rely on hard-coded global variables, so whatever happens to one monster will affect the other monster as well. I didn't feel that that is a realistic approach, because I think that if I were to make a game with randomly respawning monsters, I'd probably have more than just one monster in my game. So my second highest priority goal was to make it so that the event is fully self-contained, so that it can be freely copied and pasted throughout my game, and as many instances as I want can be running at any given time, without affecting each other.

3.) As I mentioned in a previous post, most of the current entries are handling the respawn time in a way that I feel doesn't really conform to the rules of the challenge. So my third goal was to make the timer work in a way that the monster will respawn in exactly 5 minutes of game time, regardless of whether I stay on the map, leave the map, enter battle, enter menus, etc.

In order to achieve the first goal, I had to make my event have a way to automatically know which image to use for each monster. I decided to tackle this through the use of note tags. For any enemies that you want to be included in the random selection, you have to go into the database and add two note tags. For example:

Spoiler: Enemy Note Tag
EnemyNoteTag.png

The only required note tags are the <mapImg> and <mapImgIndex> tags. The first one is the filename (without the extension) that contains the character image that you want to use, and the second one is the index of the character image (since a character file can contain sprites for up to 8 characters, you have to tell it which one to use). The top left character is 0, and it increments to the right, and then goes to the second row and continues to increment.

The <faceImg> and <faceImgIndex> note tags are optional. But if you include them, the event will automatically put the monster's face image into a message when you talk to it.

That's basically all you've gotta do. The event itself doesn't need to ever be edited in any way. You can add and remove monsters, and change their images, simply by using those note tags in the database. The event will then automatically parse your database and compile a list of enemies that have a <mapImg> note tag. Then it will parse your troops and compile a list of all troops that contain at least one enemy that has said note tag. Then it will randomly select one troop from the list. Then it will randomly select one monster from that troop, and it will set itself to use the character image of that monster.

Then when you talk to the monster, it will show you a message and it will automatically display the face image of that monster, if you specified one. And if you're an MZ user, it will also automatically grab the monster's name from the database, and show that on the message as well.

Spoiler: Monster Talking Example
EnemyExample.png

You can ignore most of the stuff in that screenshot, as that map is just a scratchpad I use to test various scripts/events sometimes. The 3 NPCs on top of the water are the only relevant ones. They're all copies of the exact same event, but as you can see in the screenshot, they each spawned with a different image. And upon talking to to them, they will all show an appropriate face image and name, and will initiate a battle with an appropriate troop (that contains at least one of that monster). And they will each have their own independent respawn timer.

I did this using 3 event pages, some self switches, 1 switch, 2 variables, and 1 common event. I'm pretty bummed about the switch, variables, and common event, as I initially didn't plan to use them. I had thought I could get it all done using just an event with 3 pages, but then I noticed a possible bug that can happen in a specific scenario, so I had to apply a bit of a band-aid. I'd have preferred to have used a very very tiny plugin instead, but rules are rules.

I'll go ahead and paste pictures of the events right now. Then I'll come back and edit the post with commented code to try to better explain what's going on:

Spoiler: Page 1
Page1.png
Page 1 does a bunch of hoodoo (which I probably over-complicated) in order to parse the database and randomly select an appropriate troop as well as its representative enemy. It then hacks the self switch system to save that information for later usage, and it also sets up the image information for Page 2, so that it will display the correct NPC on the map. It also turns on a switch to make sure that my common event (will show later) is running. Oh, and before I forget, you need to put a <randomMonster> tag in the note box of your event.

Spoiler: Page 2
Page2.png
Page 2 uses the hacked self switch to figure out which face and name to display in the message, and displays said message, then initiates battle (using another hacked self switch to know which troop was randomly generated), and then saves the current game time + 5 minutes into another hacked self switch, before moving to page 3.

Spoiler: Page 3
Page3.png
Page 3 just continually checks whether or not a respawn is necessary. I put a 20 frame wait between each check, so the parallel event shouldn't really have any notable impact on performance. It wasn't necessary to use a loop here, and I normally wouldn't, but I chose to do so, in order to demonstrate how one can use a script call to break out of an event command loop, and also how to use a script call to wait.

Spoiler: Common Event
CommonEvent.png
Like I mentioned earlier, I don't like this Common Event, but I had to use it. The previous event has an issue where, if you leave the map while it's on page 2, and then come back, it won't be displaying the correct NPC image anymore. Without being able to use any plugins, a common event was the least annoying solution that I could come up with. What it does is it detects when the map has changed, and then it iterates through each event on the map, looking for any that has the <randomMonster> note tag and that is also on Page 2, and it ensures that the correct image is being used. This common event shouldn't really harm performance, as I made it as low impact as possible. But I still am unhappy that I had to use it. I'll probably cry about it for 3 days and 2 nights.

You can copy and paste the map event as many times as you want, and each one will work independently. You don't need to make additional copies of the Common Event. The one Common Event will cover as many copies of the map event as you want.

Here are the script calls that I used, with comments added to try to explain each block of code:
Spoiler: Page 1 Script
JavaScript:
// Parse database for enemies that have a mapImg note tag
var possibleEnemies = $dataEnemies.filter(enemy => !!enemy?.meta.mapImg);

// Parse database for troops that contain those enemies
var possibleTroops = $dataTroops.filter(troop => {
    return troop?.members.some(member => {
        return possibleEnemies.some(enemy => enemy.id === member.enemyId)
    })
});

// Select a random troop from that list, and save the random troop into a
// self switch, so we can access it from other pages
const randomTroop = possibleTroops[Math.randomInt(possibleTroops.length)];
$gameSelfSwitches._data[[this._mapId, this._eventId, 'randomTroop']] = randomTroop;

// Iterate through the members of our selected troop, to make a list of enemies
// that we have image data for
possibleEnemies = possibleEnemies.filter(enemy => {
    return randomTroop.members.some(member => member.enemyId === enemy.id)
});

// Select a random enemy from that list, set up the image data for page 2,
// and save the random enemy to a self switch, so we can access it from
// other pages
const randomEnemy = possibleEnemies[Math.randomInt(possibleEnemies.length)];
if (randomEnemy) {
    $gameMap.event(this._eventId).event().pages[1].image.characterName = randomEnemy.meta.mapImg;
    $gameMap.event(this._eventId).event().pages[1].image.characterIndex = parseInt(randomEnemy.meta.mapImgIndex) || 0;
}
$gameSelfSwitches._data[[this._mapId, this._eventId, 'randomEnemy']] = randomEnemy;

Spoiler: Page 2 Scripts
First script call:
JavaScript:
// Grab our randomly selected enemy from the self switch, and extract the face
// data
const randomEnemy = $gameSelfSwitches._data[[this._mapId, this._eventId, 'randomEnemy']];
const face = randomEnemy.meta.faceImg || '';
const faceIndex = parseInt(randomEnemy.meta.faceImgIndex) || 0;

// Build the message that we will show to the player. I added a check for MZ
// before trying to set the speaker's name, to keep this compatible between
// both MV and MZ
$gameMessage.setFaceImage(face, faceIndex);
$gameMessage.setBackground(0);
$gameMessage.setPositionType(2);
if (Utils.RPGMAKER_NAME === "MZ") $gameMessage.setSpeakerName(randomEnemy.name);
$gameMessage.add("I'm gonna keel you, sucka!");
this.setWaitMode("message");

Script call used in the control variables command (right before the Battle Processing):
JavaScript:
$gameSelfSwitches._data[[this._mapId, this._eventId, 'randomTroop']].id

Last Script Call:
JavaScript:
// Save the current play time + 5 minutes into a self switch, so we can access it
// from the next page
$gameSelfSwitches._data[[this._mapId, this._eventId, 'respawnTime']] = $gameSystem.playtime() + 300;

Spoiler: Page 3 Script
JavaScript:
// If the current playtime exceeds our target playtime, break out of the event loop
// otherwise, wait 20 frames
if ($gameSystem.playtime() >= $gameSelfSwitches._data[[this._mapId, this._eventId, 'respawnTime']]) {
    this.command113();
} else {
    this.wait(20);
}

Spoiler: Common Event Script
JavaScript:
// Iterate through all events on the map, and correct images for any that have
// a randomMonster note tag and are also currently on event page 2
for (const event of $gameMap.events()) {
    if (event.event().meta.randomMonster && event._pageIndex === 1) {
        const randomEnemy = $gameSelfSwitches._data[[this._mapId, event._eventId, 'randomEnemy']];
        event.setImage(randomEnemy.meta.mapImg, parseInt(randomEnemy.meta.mapImgIndex));
    }
}

Here's a video. I have it set to a 10 second respawn time for demonstration purposes:
So my solution is a little over-engineered, (...)
A little? That is an understatement! It was supposed to be a simple but effective event that could be easily understood by everybody. 😉
Your system looks great, but this is by no means simple. You turned an eventing challenge into a scripting project. 😛

Your system looks great though, but I don't understand half of it.
A little? That is an understatement! It was supposed to be a simple but effective event that could be easily understood by everybody. 😉
Your system looks great, but this is by no means simple.
To be fair, what you actually said in the original post is that the *challenges* (not the events) would be simple, and that we should try to come up with the "best system" that we can. To me, "best system" does not imply that we should underachieve.

"Lets think of simple, small challenges, that can be done with eventing only (no plugins) and see who can come up with the best system."
- JohnDoeNews 2022 -

But setting that aside, I would argue that the effectiveness to simplicity ratio of my event is quite high. I used 4 total event pages (3 pages on a regular event, and one small common event). The total number of pages and variables that I'm using is actually pretty comparable to what's being used in the other entries, but I'll admit that my system is arguably a bit less simple at a glance. However, that assessment changes when you consider that the effectiveness of my system is infinite.

For example, if I want my system to include 200 possible monsters, my events will still only be 4 total pages. If I want it to have 400 possible monsters, it'll still only be 4 total pages. 800 monsters, still 4 total pages. It's infinitely scalable, without me really having to do any extra work. But if we take a look at your system as a counterexample... if you want it to handle 800 possible monsters, it's going to have 802 pages! Settings aside how much work it would be to create all those extra pages, there are also performance consequences to having an event with so many pages, and trying to maintain and change it later is an organizational nightmare.

Similarly, if I want my system to have multiple copies of these random monsters throughout the game, all I have to do is copy and paste my event, without having to change a single line of code or having to add any new variables, or anything like that. On the other hand, your system will require you to create two new variables for each new copy of the event, and you will also have to go back and edit every single event page to account for the new variables... which if you're using 802 pages, would be a monumental undertaking.

So sure, building my system requires a little bit more work up front, but in doing so, it saves a massive amount of work in the long run. So I think that whether or not it's actually less simple than the others is somewhat arguable. At the very least, I'd say that it has a much higher Effectiveness/Simplicity ratio.

You turned an eventing challenge into a scripting project. 😛
Me in an earlier post: "I'd hate for someone to spend time writing a super cool event system, but then to get told that their entry doesn't really count because it over-relies on script calls or something ... So if there's some kind of line that shouldn't be crossed, it's probably good to define where that line is beforehand."

You and everyone else: "Nah, scripting is fine! It counts as eventing too! Just make sure that you explain your script calls so that people can learn from them!"

C'mon, now. 😉 I spent way longer writing my explanation post and commenting my code, than I actually spent writing the code, specifically so that we could avoid having this very accusation occur.

I will admit that I probably used some techniques in my system that are beyond the current knowledge of some of the people here. However, I refuse to agree that anybody here is incapable of understanding and learning the techniques that I used, if they try hard enough. And that's precisely why I chose to use the techniques that I did. I wanted to maximize the opportunity for people to learn new things from my events. For some people, just taking away one new technique can be a total game changer in the types of events that they might be able to create in the future.

On that note, if anybody has any questions about anything I did, feel free to ask.
Oh 😛 I didn't mean to say it wasn't allowed or anything. All I tried to say is: It is complicated. 😛

Please don't take the whole thing too serious though. 😛 It is not official. There is nothing to win, there is nothing on the line, no-one is going to be disqualified or banned from the challenge. 😛
😛 Your system seems fine to me, really. I just don't know javascript, which makes 4 pages of scripts (even when explained) anything but simple. I really had to take my time to understand what everything does.

I didn't mean to sound as if your entry wasn't good or allowed. Sorry if I came across that way. I just thought... Since you wanted to criticize literally ALL entries for taking the rules literally, I thought it would be okay to say this felt more like a scripting challenge. You see the irony? 😉 It was meant to be funny, not as actual criticism. 😛
@Arthran I think its a great system and it really highlights the level of things that can be done through eventing and scripting.

It checks all the boxes of the outlined challenge!

I think simplicity here is mostly subjective, while effectiveness is not, this system is certainly effective.

I agree that anyone here is capable of understanding this, and I'd go one step further and say that anyone that can get to the point where they understand this, can start to think about making their own plugins.

That's how I started and I hope that more people start to discover that the limitations are not as imposing as they seem.

Good work!
Okay, here's mine.

First of all, at the start of the game you need an autorun event for setup:

1644112842461.png
1644112862635.png


Just event commands so far, though I am setting a variable to equal an empty array, which might be confusing to people unfamiliar with JavaScript. This effectively just makes the variable capable of storing multiple values instead of just a single number.

1644112942176.png
1644112954234.png
1644112968457.png


My enemy events have 3 pages. The first page sets a variable to an array of possible monsters; each element is another array consisting of the graphic name, the index, and which troop will be fought. Then another variable is set to a random number from 0 to the number of possible monsters, and a third variable is set to that value + 1 (since array indexes start at 0 but troop IDs don't). Then that turns self switch A on, activating page 2.

Page 2's custom movement route is a non-repeating script command:

JavaScript:
const data = $gameVariables.value(1)[$gameVariables.value(2)]; const image = data[0]; const index = data[1]; $gameMap.event(this._eventId).setImage(image, index);

So we define a const called data which is the element of variable 1 with an index of variable 2. Or to put it more simply:

Variable 1 currently contains [["Monster", 0, 1], ["Monster", 1, 2]]. Variable 2 will either be 0 or 1. So data is either going to be ["Monster", 0, 1], which is the element at index 0, or ["Monster", 1, 2], the element at index 1.

We set a const called image to data[0], which gives us the first element of data. This will be "Monster" in both cases. Then we set a const called index to data[1], which will give us either 0 or 1, depending on what the random number was. Then we access the current map event and call its setImage function, passing in image and index. This will set the current event's graphic to the values in the chosen array.

In the page itself, we have the normal battle processing. After the battle, we're pushing a new value to variable 4 (which is an array, remember). In this case, we're pushing an array consisting of the map ID, the event ID, and 180 frames. This will respawn the enemy after 3 seconds. For 5 minutes, we'd set this to 18000.

The final piece of the puzzle is a parallel process common event:

1644113629858.png

Our common event is just activated by the switch we turned on at the start of the game.

First, we have a conditional branch checking if the respawning enemies variable is not 0 (which will only be the case once it's an array).

The script is a for loop which runs through each element of variable 4, and gives that element the name "enemyData". In the case of our event above, variable 4 currently contains [[3, 1, 180]], since I put this event on map 3.

First, we reduce enemyData[2] by 1. This takes the 180 and makes it 179 (and then 178, and 177, and so on until it reaches 0). Then we check if enemyData[2] is equal to 0. If it is (which in this case it will be after 180 loops), we take enemyData[0] as map ID and enemyData[1] as event ID, and pass those to turn off self switches A and B of the event corresponding to the enemy we killed. Then we remove enemyData from variable 4, which takes out the information for that enemy since it's about to respawn and no longer needs to be monitored.

Once the self switches are turned off, the event returns to page 1 and will respawn as a new random enemy. It will do so on the current map if you're still there; if you're not it will respawn once you re-enter.
@Trihan Another solid solution! Your understanding of JavaScript really shows here. Lightweight and powerful, this looks to be easily expandable as well.

I think this has been a great thread so far and has some really good input at various levels. This kind of friendly, lightweight competition takes place under a broader context of cooperation and I'm here for it.
@Trihan Well played, with the movement route on page 2. I'm sad that I didn't think of that.

Oh 😛 I didn't mean to say it wasn't allowed or anything. All I tried to say is: It is complicated. 😛

Please don't take the whole thing too serious though. 😛 It is not official. There is nothing to win, there is nothing on the line, no-one is going to be disqualified or banned from the challenge. 😛
😛 Your system seems fine to me, really. I just don't know javascript, which makes 4 pages of scripts (even when explained) anything but simple. I really had to take my time to understand what everything does.

I didn't mean to sound as if your entry wasn't good or allowed. Sorry if I came across that way. I just thought... Since you wanted to criticize literally ALL entries for taking the rules literally, I thought it would be okay to say this felt more like a scripting challenge. You see the irony? 😉 It was meant to be funny, not as actual criticism. 😛
We're good. I wasn't offended or anything like that. I just wanted to make sure it was clear that there was a method to my madness. I have a bad habit of getting too wordy, and I guess maybe it can erroneously make it seem like I'm irate or something.

@Arthran I think its a great system and it really highlights the level of things that can be done through eventing and scripting.

It checks all the boxes of the outlined challenge!

I think simplicity here is mostly subjective, while effectiveness is not, this system is certainly effective.

I agree that anyone here is capable of understanding this, and I'd go one step further and say that anyone that can get to the point where they understand this, can start to think about making their own plugins.

That's how I started and I hope that more people start to discover that the limitations are not as imposing as they seem.

Good work!
Thank you, good sir.
@Trihan Well played, with the movement route on page 2. I'm sad that I didn't think of that.


Yeah, I wasn't offended or anything like that. I just wanted to make sure it was clear that there was a method to my madness. I have a bad habit of getting too wordy, and I guess maybe it can erroneously make it seem like I'm irate or something.


Thank you, good sir.
Your method was pretty neat too, and you gave me the idea to add an automatic graphic change in the first place, so I think we can call that one a team effort. 🙂
Page 2's custom movement route is a non-repeating script command:

JavaScript:
const data = $gameVariables.value(1)[$gameVariables.value(2)]; const image = data[0]; const index = data[1]; $gameMap.event(this._eventId).setImage(image, index);
Question about this part Trihan. When you say non-repeating, does that mean you un-checked the Repeat movements box? Or just that you didn't add a method to repeat the script command in the script itself? I'm asking because I'm curious how one would go about making your event walk around (repeatedly) without setting the script off again. Would I just need to wrap it in an IF statement and make the necessary changes? Again, really neat use of events, just curious and attempting to expand my knowledge.
Question about this part Trihan. When you say non-repeating, does that mean you un-checked the Repeat movements box? Or just that you didn't add a method to repeat the script command in the script itself? I'm asking because I'm curious how one would go about making your event walk around (repeatedly) without setting the script off again. Would I just need to wrap it in an IF statement and make the necessary changes? Again, really neat use of events, just curious and attempting to expand my knowledge.
Unchecked the repeat movement box, yeah. If you did want the event to move around you'd need to do the graphic change a different way. An if statement and putting the other movement commands in as a script would work.

Original thread: https://forums.rpgmakerweb.com/threads/wanna-do-some-eventing-duels.144595/