Still repeating
No change, actor is still staying at the edge of the bed, my guess since its set to Player touch.
Still repeating
No change, actor is still staying at the edge of the bed, my guess since its set to Player touch.
Ok, yeah, Altimit is triggering the touch event as soon as you touch the border of the event's collision box.
Math.sqrt(($gamePlayer.x - this.character(0).x) ** 2 + ($gamePlayer.y - this.character(0).y) ** 2)<0.2
That did it, I'll update the events elsewhere to match.
Is this only happening when you select Yes or also with No? If it's happening only with Yes you'll need to show what's in your common event. You'll probably need a wait a few frames command after "When Yes" but before "Common event: Inn visited" then another wait command somewhere at the top of the common event itself depending on what's in it.
It's happening with any Choices that I set up. Not just Yes/No
Could you try putting a Wait 10 frames command on the next line whenever you have a When (Choice) command followed by "do some stuff" (i.e. not blank)
Tried that after the initial suggestion. Didn't make a difference unfortunately
Unfortunately I'm stumped as I that fixes the issue whenever it comes up for me. If you could explain how to reliably reproduce the problem (from a blank project) that would help.
Late response but, it is because I'm trying to give this plugin another chance
// Test collision with characters
for ( var ii = 0; ii < events.length; ii++ ) {
var entryX = events[ii]._x;
var entryY = events[ii]._y;
if ( loopMap[events[ii]] == 1 ) { entryX += $gameMap.width(); }
else if ( loopMap[events[ii]] == 2 ) { entryX -= $gameMap.width(); }
else if ( loopMap[events[ii]] == 3 ) { entryY += $gameMap.height(); }
else if ( loopMap[events[ii]] == 4 ) { entryY -= $gameMap.height(); }
else if ( loopMap[events[ii]] == 5 ) { entryX += $gameMap.width(); entryY += $gameMap.height(); }
else if ( loopMap[events[ii]] == 6 ) { entryX -= $gameMap.width(); entryY += $gameMap.height(); }
else if ( loopMap[events[ii]] == 7 ) { entryX += $gameMap.width(); entryY -= $gameMap.height(); }
else if ( loopMap[events[ii]] == 8 ) { entryX -= $gameMap.width(); entryY -= $gameMap.height(); }
if ( events[ii].isNormalPriority() && Collider.intersect( this._x + vx, this._y + vy, collider, entryX, entryY, events[ii].collider() ) ) {
// Normal priority player-touch/event-touch
events[ii].start();
break; //THE BREAK I ADDED
} else if ( events[ii]._trigger === 2 ) {
// Event touch is encasing
if ( Collider.encase( entryX, entryY, events[ii].collider(), this._x, this._y, collider ) || Collider.encase( this._x, this._y, collider, entryX, entryY, events[ii].collider() ) ) {
events[ii].start();
}
} else if ( Collider.intersect( this._x, this._y, collider, entryX, entryY, events[ii].collider() ) ) {
events[ii].start();
}
}
Restart already solved this
forums.rpgmakerweb.com
I made this plugin that will make any event follow the player's path exactly since followers and chasing events kept getting caught on walls. It was mostly for my own use but I made it open source in case anyone else wants to use it.
forums.rpgmakerweb.com
Putting the script in the event's move route is making it choppy and less responsive in my testing right now so I have to look into what's causing it. For now you can put this version of the script in an event page instead and it's pretty smooth. I updated the instructions in the thread.
Original thread: https://forums.rpgmakerweb.com/threads/altimit-pixel-movement-0-50v.85408/