Hi everyone!
I am trying to create a movement pattern for an event. Basically, I want the duck to move around at random within region 2, then after a while, to go to region 1 and move around at random within region 1, then to return to region 2 - and the process repeats itself. Swim around, leave water and walk around on land, then return to the water and swim around etc.
I got it right to change the spritesheet from swimming (on region 2) to walking (on region 1), as well as the random movement in the water and on land - but I am struggling with the transition from the water (region 2) to the land (region 1) and vice versa.
How can I set the movement of the event to go to the edge of the water (which is still within region 2), then change spritesheets to the walking set once it goes onto land (region 1) and when it is done on land, to let it go to the edge of the land (in region 1), then change spritesheets to the swimming set once again. Then, of course, to have the process between water-land-water-land repeat itself?
Here is what I have so far. If it matters, I am using GALV's MoveRouteExtras for this.
I tried to set the duck to go to the water's edge via X Y, but where exactly it gets to the land or transition does not really matter.
EDIT: To add to this, Shaz' Smart Pathfinding would probably be perfect for this, but its for MV...not MZ.
I am trying to create a movement pattern for an event. Basically, I want the duck to move around at random within region 2, then after a while, to go to region 1 and move around at random within region 1, then to return to region 2 - and the process repeats itself. Swim around, leave water and walk around on land, then return to the water and swim around etc.
I got it right to change the spritesheet from swimming (on region 2) to walking (on region 1), as well as the random movement in the water and on land - but I am struggling with the transition from the water (region 2) to the land (region 1) and vice versa.
How can I set the movement of the event to go to the edge of the water (which is still within region 2), then change spritesheets to the walking set once it goes onto land (region 1) and when it is done on land, to let it go to the edge of the land (in region 1), then change spritesheets to the swimming set once again. Then, of course, to have the process between water-land-water-land repeat itself?
Here is what I have so far. If it matters, I am using GALV's MoveRouteExtras for this.
I tried to set the duck to go to the water's edge via X Y, but where exactly it gets to the land or transition does not really matter.
EDIT: To add to this, Shaz' Smart Pathfinding would probably be perfect for this, but its for MV...not MZ.