Original Source
- Original title: Need some help with Autonomous Movement and Common Events
- Original author: The_Ez
- Original date: July 22, 2017
- Source thread: https://forums.rpgmakerweb.com/threads/need-some-help-with-autonomous-movement-and-common-events.81624/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support
Summary
Hey all, I'm trying to make some semi-advanced pathing routes for my game. Time, NPC type, etc, will all affect where they go and what they do, but I also want them to remain interact-able and not have hundreds of event specific common events. I've settled on using $gameTemp.reserveCommonEvent(n); called from a custom autonomous move route, which leaves the event itself free for all the normal stuff. The problem though is that when I call the common event in this way any event command in the common event that contains...
Archived First Post
I've settled on using $gameTemp.reserveCommonEvent(n); called from a custom autonomous move route, which leaves the event itself free for all the normal stuff. The problem though is that when I call the common event in this way any event command in the common event that contains "this event" (set move route, set event location, etc) all fail to work.
Couple of quick pics since the above was a bit hard to follow.
Protected download
Common event fails to move event 6 (and yes, event 6 is the event containing the autonomous move route).
Protected download
And yet this one works perfectly because it specifically calls event 6 rather than "this event".
Is there an additional piece of code I need to use in the custom movement script call to set some hidden "this event" variable? Or am I just doing something wrong?
I also realised when I was uploading these that I'm using qmove, so I made a new game 100% plugin free but still had the same issue.
Any help would be greatly appreciated.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator 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...

