Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Worked perfectly :) 

Truly is a gem, is there anymore calls note in the documentation , the code looks obfuscated so i couldn't read into it and work them out. 

Lastly not sure how pertinent a bug but if the player picks up an item again and then either the player or even move/transition you'll get. 

rmmz_managers.js:2030 TypeError: Cannot read property 'throwDestination' of null

    at Game_Player.<computed>.updateThrow (TSR_MoveEvent.js:295)

    at Game_Player.<computed>.updatePickupEvent (TSR_MoveEvent.js:295)

    at Game_Player.<computed> [as update] (TSR_MoveEvent.js:295)

I use the check if the event has landed in a position but is there a call to make an event that was throwable not ? 

Hello again, and thank you for reporting that!

But I would need a bit more details on how the bug occured in order to track it down. You said it's when the player pick up an event again (after having thrown it, I guesss), and then when it move/transition..?  (not sure what you mean by that...)

"Make an event that was throwable not" Do you mean that you can't pick it up again after you thrown it once? If so, no need for a 'call', you only need to switch the event to another page that doesn't have the <pickup event> tag. 

I just created a discord channel for providing support for my plugins. You can join it if you have more questions:

https://discord.gg/AseuWzCc

Ah sorry if i was unclear, effectively i have a parrelel event for event position and if in the right place, displays text and reset locations of player and the event. However in that second if the player was to pick up the event again you will get the previously mentioned error. 

My workaround is to make the first action of the parallel to turn the player around and away so as to make it more difficult for them to pick it up again before the reset. 

That said the best way to avoid it occuring might be to have a 2 second lag in the plugin between throwing something and allowing a new pickup. 

Ive joined your discord but also dont want to take any more of your time then i have already 


As i said before its an absolute gem of a plugin and its a shame more people dont know or use it :) 

How do you check the event position in the parallel event? For what you described, I think you use: $gameMap.event(eventId).pos(x, y)...

This is a default call to check event position on map and can be used for push/pull event, but not pickup event.

To check where a pickup event as landed, use: $gamePlayer.hasThrownEvent(eventId, x, y)


The example above will reset player and event position whenever player has thrown the event 8 at position x26, y19.

Ah yes i was using a position check, the call you have shwon works much better and eliminates the chance of a crash :) 


Thanks alot :) 

This link is dead. Is the Discord still up?

Hello. There's a link in my RPG Maker Forum signature.