Skip to content

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

Description

@TouringBus

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions