Thanks for your work! This plugin allowed so many features simultaneously without thoroughly checking every possibility, so there were bound to be a few things missing. It can be a tricky bit of code to fix. If you get a solution for what you are working on, you could post it here as an add-on plugin that requires my original, but then adds onto it with your extra features.
Follower Control Plugin by Tyruswoo
JS Plugin Releases (RMMV)Thanks for your work! This plugin allowed so many features simultaneously without thoroughly checking every possibility, so there were bound to be a few things missing. It can be a tricky bit of code to fix. If you get a solution for what you are working on, you could post it here as an add-on plugin that requires my original, but then adds onto it with your extra features.
I will do that. I'll toss it all in my event fourway passage script as an addon feature that will automatically activate if your script is present.
So from my testing so far it seems to be a bad idea to mess with Game_Character.prototype.update.call(this);
The original script I posted holds as the best one so far. Just to be sure I'll post it below until I have time to incorporate it in my plugin.
// Replacement method (Added by Gilgamar 2016.03.07)
Game_Follower.prototype.update = function() {
Game_Character.prototype.update.call(this);
if (!$gamePlayer._followers._stopChase && !$gamePlayer._followers._stopCopy) {
this.setMoveSpeed($gamePlayer.realMoveSpeed());
this.setOpacity($gamePlayer.opacity());
this.setBlendMode($gamePlayer.blendMode());
this.setWalkAnime($gamePlayer.hasWalkAnime());
this.setStepAnime($gamePlayer.hasStepAnime());
this.setDirectionFix($gamePlayer.isDirectionFixed());
this.setTransparent($gamePlayer.isTransparent());
}
};
Game_Follower.prototype.update = function() {
Game_Character.prototype.update.call(this);
if (!$gamePlayer._followers._stopChase && !$gamePlayer._followers._stopCopy) {
this.setMoveSpeed($gamePlayer.realMoveSpeed());
this.setOpacity($gamePlayer.opacity());
this.setBlendMode($gamePlayer.blendMode());
this.setWalkAnime($gamePlayer.hasWalkAnime());
this.setStepAnime($gamePlayer.hasStepAnime());
this.setDirectionFix($gamePlayer.isDirectionFixed());
this.setTransparent($gamePlayer.isTransparent());
}
};
I tested this with the jump command in set move routes and it works independently. I think it must have worked all along but now all this other stuff should work too. I haven't gotten around to checking everything though.
Hi Tyrus! I added the patch to my GIL_Fourway.js script and linked back to this thread. The patch can be found here:
hey tyrus! first, thanks for the plugin. it works great!
so here it is, i use yanfly party system to add maximum party to 5.
Then i hide the player follower by default.
then show player follower at the start of a cutscene. but as you guys know rmmv limits the follower only to 3 people.
so when i use your plugin for cutscene where everyone gather behind the leader (using galv move route), only 3 people comes out. i cant display my last party member.
is there any way to add the number of follower?
so here it is, i use yanfly party system to add maximum party to 5.
Then i hide the player follower by default.
then show player follower at the start of a cutscene. but as you guys know rmmv limits the follower only to 3 people.
so when i use your plugin for cutscene where everyone gather behind the leader (using galv move route), only 3 people comes out. i cant display my last party member.
is there any way to add the number of follower?
Hi Eirei,
I am having difficulty replicating the error. I created a party of 5 members and the Show/Hide Followers event command is working appropriately, showing all the followers. You could try using a plugin command to target Follower 4 and then use the Change Move Route event command to effect transparency, and see if that works.
If you are still having problems, let me know. If you are able to make a video of the issue, it may help me to understand the problem better. You may also want to ask Galv.
it's just that rmmv cant display the 4th follower by default.
i dont think there's anything wrong with either your script or galv's.
do you use any other plugins that might alter the default follower?
Hi Eirei,
As you noted, you can use the Yanfly Party System to increase the number of party members in battle. You'll also notice that the fifth parameter in his plugin allows you to change the "Maximum Followers," which will change the maximum number of followers visible on the map. Make sure to set this to 5 or higher.
Let me know if this helps!
As you noted, you can use the Yanfly Party System to increase the number of party members in battle. You'll also notice that the fifth parameter in his plugin allows you to change the "Maximum Followers," which will change the maximum number of followers visible on the map. Make sure to set this to 5 or higher.
Let me know if this helps!
Hi, I know this is going to sound dumb but how exactly do I download the plugin. Every time i click the download link it just takes me to a readout of the code.
You need to copy the code and paste it into a file and save it.
When you are at the window showing the code, try right-clicking on the text, and selecting "Save As". This should automatically give the file the correct javascript format. You can save it onto your computer somewhere, and then move it to the plugins folder from there.
For some reason this plugin just doesn't work at all. There are no errors or anything but when I place a plugin command above a movement route it just moves the player. The pic is currently how I have it set up (note that the image is just so I know where it is). The plugin has been moved around the order of plugins and doesn't work no matter where I place it. I don't use any other movement/follower based plugins so nothing should be messing with it.
First make sure that you have the plugin status set to On in the Plugin Manager.
Also, you could try putting the plugin command
Follower StopChase
before you begin the cutscene work. Make sure you then end your cutscene withFollower Chase
I hope one of those ideas helps you, or that you found a solution. Also, you could try some of the other plugin commands on followers, as well, to double check whether those are working. Also, try opening the Follower Control plugin to double check that the code is all there, how it should be. Make sure the code is identical to what it should be in the download. Also, make sure that you've placed the Follower Control plugin in the correct folder within your project.
Let me know if you are still having any trouble getting the plugin to work.
I've done all of the above, everything is installed correctly and the plugin command isn't miss-spelled or anything. I've also reinstalled the plugin multiple times. I made a super simple action event that has a plugin command "Follower StopChase" which doesn't do anything.
There has been a recent patch to MV, would that be a reason at all?
Edit: I should mention, I found another plugin that also doesn't work at all. It's strange as all of my other plugins work perfectly.
It is possible that an MV patch could make the Follower Control plugin stop working. Under the "Help" menu, I clicked on "About...", and I am using RPG Maker MV version 1.5.0. I then playtested my game and checked one of the places where I use the Follower Control plugin, and it was working. Which version of RPG Maker MV are you using?
Currently on 1.5.0 as well. I just did a quick test, I created a new project and COPIED the script file from my main project into the new one. I created an event and used 'stopchase' and it worked. I don't understand because I turned all my plugins off and it still doesn't work on my main project, which has been updated to 1.5 correctly. The plugin commands are correct too (as you've seen).
Since you've been able to get it working on a different project, that is a good sign that there isn't anything wrong with your computer, and the RPG Maker MV software is recognizing the plugin correctly. You could try a few more variations like that. Perhaps try temporarily completely removing some of the plugin files from your main project, and see if it works then? Perhaps when you turned all the plugins off, maybe you accidentally pressed Cancel, instead of OK or Apply? The fact that it works in an isolated project on the most up-to-date version of MV is a good sign that the plugin is working, and makes it much more likely that the plugin is interacting somehow with another plugin you have. I would be interested in knowing which plugin it is, if you find one that is interacting with it. Which plugins (especially plugins affecting movement or party members) are you using with your project?
I'll give you a full list of my plugins. Also I've turned them off about 4 - 5 times now so I'm sure they were all off to begin with. Could it be a core plugin that is causing this? I currently have two core plugins with only one on (using https://ltngames.net/ltn-core/ at the moment for their Item Window Pop-up plugin). Pics below is my full plugin list, I should also note that every plugin works fine with no interruptions.
Edit: Here is a gif showing the plugin command on an event and it doing nothing. Plugin is set to ON in plugin list, everything is as seen above.
Edit: Here is a gif showing the plugin command on an event and it doing nothing. Plugin is set to ON in plugin list, everything is as seen above.
Ensure the file is correctly named - TYR_FollowerControl.js (I imagine it is, as you said you copied it to a new project and it worked). In the new project, did you also have that big list of other plugins? Or was it just the default ones and this one? It's interesting that you have this plugin right at the top of the list - any reason? I'd at least put it below Yanfly's plugins - maybe even right at the bottom. If your other project, where it works, doesn't have all of those other plugins, I'm guessing there's a compatibility issue somewhere - which means if you put it elsewhere in the list and it starts working, it might then make one of the other plugins stop working.
To the developer - converting your plugin command and arguments to upper case would remove the need to test for all the different variations of a single word.
To the developer - converting your plugin command and arguments to upper case would remove the need to test for all the different variations of a single word.
The new project only had the default plugins. I have actually placed it everywhere in the plugin list that picture happened. I originally placed it at the bottom of everything and it didn't work then either.
I just now removed every plugin until the follower was left and then slowly put every previous plugin back into the list. Having the follower script on the bottom now works. Could it have perhaps been a read error in the engine or something? I have no idea to be honest but it works now after spending a while resorting everything and reinstalling everything.
I just now removed every plugin until the follower was left and then slowly put every previous plugin back into the list. Having the follower script on the bottom now works. Could it have perhaps been a read error in the engine or something? I have no idea to be honest but it works now after spending a while resorting everything and reinstalling everything.
It's unlikely to be a read error. As long as you've got it working, I guess it'll remain "one of those mysteries" 😉
Original thread: https://forums.rpgmakerweb.com/threads/follower-control-plugin-by-tyruswoo.55250/