Hello! I'm still a novice at RM, so I would like some tips for writing events.
I set autonomous movement to an npc to make it move by itself, and to make it continue to complete the route even when the Player gets in its way. Like this.
I want to make it so that when Player interacts with, in this case, a wine bottle, it will break and it will cause an NPC to move faster. Here's an example of my eventing.
The problem is that when I do that, the "Set Movement Route: victim1 :Speed : 5 :Frequency : 4" somehow overwrites some of the movement in NPC sometimes, depeding on the movement and whatever. Let's say, in this case, the 5 "Move Left" becomes 4 instead.
If possiblie, please suggest a way to solve this. Thank you!
*P.S. I have another solution in mind, but I have to remove the "scarepoint -1" gimmick and use instant gameover instead. So, I want to find another way first.
I set autonomous movement to an npc to make it move by itself, and to make it continue to complete the route even when the Player gets in its way. Like this.
◆Set Movement Route:victim1
: :◇Move Up
: :◇Move Left
: :◇Move Left
: :◇Turn Down
: :◇Wait:60 frames
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Turn Down
: :◇Wait:60 frames
: :◇Move Left
: :◇Turn Down
: :◇Wait:60 frames
: :◇Move Right
: :◇Move Up
: :◇Move Up
: :◇Move Up
: :◇Turn Left
: :◇Wait:60 frames
: :◇Move Up
: :◇Move Up
: :◇Wait:60 frames
: :◇Move Left
: :◇Turn Up
: :◇Wait:180 frames
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Move Up
: :◇Wait:60 frames
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Turn Up
: :◇Wait:60 frames
: :◇Move Down
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Turn Up
: :◇Wait:60 frames
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Turn Up
: :◇Wait:60 frames
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Move Down
: :◇Move Down
: :◇Move Down
: :◇Move Right
: :◇Move Right
: :◇Move Down
: :◇Move Down
: :◇Move Down
: :◇Turn Right
: :◇Wait:60 frames
: :◇Move Up
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Turn Down
: :◇Wait:60 frames
: :◇Move Left
: :◇Move Down
: :◇Move Down
: :◇Wait:60 frames
: :◇Switch ON:0079
: :◇SE:Close1 (50, 100, 0)
: :◇Move Up
: :◇Move Left
: :◇Move Left
: :◇Turn Down
: :◇Wait:60 frames
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Turn Down
: :◇Wait:60 frames
: :◇Move Left
: :◇Turn Down
: :◇Wait:60 frames
: :◇Move Right
: :◇Move Up
: :◇Move Up
: :◇Move Up
: :◇Turn Left
: :◇Wait:60 frames
: :◇Move Up
: :◇Move Up
: :◇Wait:60 frames
: :◇Move Left
: :◇Turn Up
: :◇Wait:180 frames
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Move Up
: :◇Wait:60 frames
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Turn Up
: :◇Wait:60 frames
: :◇Move Down
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Turn Up
: :◇Wait:60 frames
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Move Right
: :◇Turn Up
: :◇Wait:60 frames
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Move Down
: :◇Move Down
: :◇Move Down
: :◇Move Right
: :◇Move Right
: :◇Move Down
: :◇Move Down
: :◇Move Down
: :◇Turn Right
: :◇Wait:60 frames
: :◇Move Up
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Move Left
: :◇Turn Down
: :◇Wait:60 frames
: :◇Move Left
: :◇Move Down
: :◇Move Down
: :◇Wait:60 frames
: :◇Switch ON:0079
: :◇SE:Close1 (50, 100, 0)
I want to make it so that when Player interacts with, in this case, a wine bottle, it will break and it will cause an NPC to move faster. Here's an example of my eventing.
The problem is that when I do that, the "Set Movement Route: victim1 :Speed : 5 :Frequency : 4" somehow overwrites some of the movement in NPC sometimes, depeding on the movement and whatever. Let's say, in this case, the 5 "Move Left" becomes 4 instead.
If possiblie, please suggest a way to solve this. Thank you!
*P.S. I have another solution in mind, but I have to remove the "scarepoint -1" gimmick and use instant gameover instead. So, I want to find another way first.