I'd love a plugin of this sort as well. I also contacted the author linked in the post but never received a reply.
Random battles or evented battles? If evented, how will the plugin know if an event is to be triggered or ignored when in the vehicle?
The plugin in question was allowing random battles on sea while aboard a ship or airship.
So I think this should work as long as you begin the game with a event that turns on switch 2 and if you want to disable encounters ever turn off switch 2
For switching the value you can do it in a event manager or use$gameSwitches.setValue(2, true/false); true for encounters false for no encounters or if switch 2 is in use just change the number in $gameSwitches.value(2) to 3 or a number where it wont interfere with other switches
It's not working for me.. Nothing happens. Battles do not occur when the switch is on while in a vehicle. *EDIT It just doesn't work in Airship. Works in boat however. I need this to work in ALL vehicles. Thanks for your help btw 🙂
What other scripts do you have enabled right know because something may be overwriting the fact that I removed !$is in airship from the encounter function.
I have turned off ALL my plugins and turned on yours by itself and it still does not work. So my plugins I don't suspect are the problem.
Weird I'll do some testing later sorry for the wait.
Okay so make a quick backup to your game cause we're trying something risky. So go into your games J's folder and find rpg_objects.js and find Game_Player.prototype.canEncounter and remove !$this.isinairship I don't know how this will affect thing so make a backup.
yep that worked. I thought of doing that to actually. lol thanks
So glad that worked kinda scared me messing with core files like that.
Can some one please rebuild a plugin since Soulpour isn't responding?
I don't really want to change core files and it would be handy to just have a separate plugin to handle whether or not vehicles should have battles or not. 🙂
Thank you.
Soulpour isn't responding because he was banned from this forum for taking other people's scripts and passing them off as his own, even selling them.
I doubt anyone here is going to want to touch "his" plugins.
Ahhh, that's really sad... I just read up on Kaus, and now Soul... That's such a bummer about people's integrity. :/