Original Source
- Original title: MV Help with TMJumpAction yay
- Original author: PixelatedBree
- Original date: February 11, 2022
- Source thread: https://forums.rpgmakerweb.com/threads/help-with-tmjumpaction-yay.144839/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
Hey all! I’m trying to figure out how to get my game to recognize if an enemy event is being carried and when an enemy event is being thrown using conditional branches, switches, or script. It’s been days of me searching the internet, plugging random lines from the .js file into the event editor and praying something would stick (can you tell I’m great at coding ...), but I've "somehow" not made much progress. Hope one of you wouldn’t mind taking a look at this with me since the plugin’s...
Archived First Post
I’m trying to figure out how to get my game to recognize if an enemy event is being carried and when an enemy event is being thrown using conditional branches, switches, or script. It’s been days of me searching the internet, plugging random lines from the .js file into the event editor and praying something would stick (can you tell I’m great at coding ...), but I've "somehow" not made much progress. Hope one of you wouldn’t mind taking a look at this with me since the plugin’s creator has moved on from the RPG Maker scene!
Details:
I’m using the TMJumpAction plugin by tomoaky that adds a pickup and throw function with events you specify as being enemies using note tags. I love this plugin to bits, but it doesn’t have a graphic change option when your character jumps, attacks, etc. I decided to challenge myself and attempt to make it happen. So far, I’ve managed to get an animation to play when the player dashes and for the graphic to change when you attack using a common event that triggers with a press of the specified key.
However… since the attack key is also used to pick up and hurl enemies, the wrong graphic change is happening there. Trying to reconfigure the plugin to have the pickup/throw key be something other than the attack key would probably result in my head exploding, so I thought an easier alternative would be to trigger an event/switch if an enemy is being picked up or not. Could this be done by adding something like:
in a line under where the enemy is being picked up and then turning that switch off when it isn’t? I’m just not sure where to put it. Another thing I thought might work would be to plug script here:
that would tell the game that an enemy is/isn’t being carried, etc. Any ideas on which lines would work here? Using Ctrl+F to find “carry” and “hurl” in the plugin makes me think lines 2190-2200 could be important.
I wish I could be more helpful in explaining this, and I know this is a pretty big (gigantic) plugin to wade through, but if you have the time to help me figure this out, I would appreciate it!

Edit: Link to the demo project
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...