Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example command "AltMovement move this forward 1 skip" causes crash #45

Open
TouringBus opened this issue Jun 20, 2019 · 1 comment
Open

Comments

@TouringBus
Copy link

TouringBus commented Jun 20, 2019

I'm running RMMV 1.6.2, using a blank project with just pixel movement and pixel movement debug. I've been going through the example plugin commands to try to get a better feel for the plugin, and I've found that using the example code

AltMovement move this forward 1 skip

Causes the game to crash with a "ReferenceError subject is not defined" error popup.

The issues seems to be with the 'forward' command rather than a bigger problem with using 'this' as a self-reference. This example, for instance works perfectly, just as expected:
AltMovement move this 9 0.5 # Moves current event upper-right 0.5 units

However, when using 'forward', I still get the same crash if I replace "this" with the name of the NPC in quotes, like so:

AltMovement move "testevent" forward 1 skip

or replace it with "player" instead. Similarly, removing 'skip' doesn't help anything either.

@SynthKittenDev
Copy link

Same issue, might not work well with YEP_Core + YEP Doodads as well, look into it if your active dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants