Auto Push NPC

Auto Push NPC 1.1
Lecode
​
Introduction
This plugin replicates a feature of Seiken Densetsu 3 that allow the player to push NPCs when they obstruct his way.

For those who don't know SD3, by simply walking in the way of an NPC, you can push it allong your path.

I always liked this feature since in RPG it is common to be stuck by NPCs.

mHGfJzz.png

Currently doesn't work with Hudell's pixel movement plugin.

Features
- Push NPCs

- Change player's graphic when pushing (ON/OFF)

How to Use

* Plugin Commands: *   -> AutoPushNPC ON           ( Enable auto push) *   -> AutoPushNPC OFF          ( Disable auto push) *   -> AutoPushNPC_Img ON       ( Enable pushing image) *   -> AutoPushNPC_Img OFF      ( Disable pushing image) * * To make an event impossible to <<auto-push>>, add a comment to his list, * with this text the following text: Immune_AutoPush * * Pushing image is in that format: ActorName_Push. * Ex: Harold_Push- Make sure to save the plugin as LeAutoPushNPC.js

- Make sure to activate the "Change Image ?" parametter if you want to use a custom graphi when the player

 is pushing an NPC.

Plugin

Download it from my Google Drive.

Credit and Thanks
- Lecode
Looks great. Can't test it at the moment, so I figured I'd ask. How would this work with touchscreen/mouse controls?
Would you be able to use common events to also replicate the pushing sprite Like in SD3
If you have NPC's without any text that appears; if they are just there and roam freely, you can set them up with a move route to move one space away from the player.

This is for NPC's with dialogue or other things that they do when you click on them, if I'm correct. I'm not sure there's a way to event that properly.
Is there a way to add a pushing animation like there? I could see this being used for much, much more things including puzzle solving.
Looks great. Can't test it at the moment, so I figured I'd ask. How would this work with touchscreen/mouse controls?
The plugin doesn't work for mouse/touchscreen controls.

This is for NPC's with dialogue or other things that they do when you click on them, if I'm correct. I'm not sure there's a way to event that properly.
Yes, that's the point. It is probably impossible to do that with events when their command list aren't empty.

Is there a way to add a pushing animation like there? I could see this being used for much, much more things including puzzle solving.
Yeah..I was thinking to add that feature too. I'll do that.
Version 1.1:

- Change player's graphic when pushing (ON/OFF)

 * Pushing image is in this format: ActorName_Push.
 * Ex: Harold_Push
Thanks super cool script! Will come in handy for puzzles.
Is there a way to make an object non-pushable? for example I wanna push a boulder and I can, but I can also push sword decorations! I don't want that!
never mind i figured it out! 😀
This is a awesome plugin and is amazing for testing, being able to push npc's out the way where I have incorrectly done there movement and they end up blocking the path!!


I've gotten it to works perfectly with the keyboard, but I can't seem to get it to work with a mouse or touch screen, unless I set the delay value to 0.


Is there a way to make it work with touch screens/mouse pointers that I just haven't discovered as I'm a noob?


or if there isn't and  you're still maintaining this plugin, is it possible to have a setting, where it counts the number of times you "bump into" an npc in a 30 second period and if its greater than X number of times the npc is pushed?


Well done on a really useful plugin btw!
Where do you put this? > Immune_AutoPush
@ardavYou put that in a comment in the event's list.


Would it be possible to have the opposite tag setup as well, for the future? While I like the auto push, I think events that can't be pushed will outnumber events than can by a the or four times, so it would be nice to only tag what can be moved. Something like another option for "default to off?"
Is there a way to use this to have events push the player?
Is there a way to use this to have events push the player?

By tweaking it. I don't plan to update it though, not now at least.
Hello there! sorry but i just wanted to make sure: what are the terms of use for this plugin? can I use it commercially? is that what you meant by "Credit and Thanks: Lecode"?
Free for both commercial and non-commercial.
Umm..... I don't know if I'm doing something wrong, but when I use a push sprite.... he never stops doing it... My characters sprite doesn't go back to normal and it's kinda annoying.. 🙁
How does one actually use this? do I great an event? I'm new to this 🙁
@Leviaph then I suggest you first follow the link to the starting point in my signature and go through those tutorials to get the basics before trying to use plugins.


There are also tutorials on how to install and use plugins on this forum, but most of them expect you to have at least minimum familiarity with the editor and the engines.

Original thread: https://forums.rpgmakerweb.com/threads/auto-push-npc.47897/