how can you make two npc fight each other? im trying to make a cutscene like a kingdom is at war
npc fight npc
RPG Maker VXAce Supportuse move route command perhaps...
it only commands to move
of course after moving, you're then gonna use things like show animation
You can start with a simple battle scene using a mix of set move route, show animation, play SE and wait commands. Make two events facing each other and experiment with those commands.
I have also learned something when I was trying what OP asked myself before I post. Why does parallel process takes priority over autorun when I insert set move route command in "Contents" on two individual events while they start simultaneously when I just use "Autonomous Movement" ?
Two events facing each other, the left one is set as autorun and only moves right, the right one is set to parallel process and only moves left. When the map loads, the right one moves first. But if I don't use any move command in "Contents" and use autonomous movement instead, they start moving at the same time (I made sure there is no "wait for completion" rule set)
I don't mean to hijack the topic. I think the answer may also help OP.
I have also learned something when I was trying what OP asked myself before I post. Why does parallel process takes priority over autorun when I insert set move route command in "Contents" on two individual events while they start simultaneously when I just use "Autonomous Movement" ?
Two events facing each other, the left one is set as autorun and only moves right, the right one is set to parallel process and only moves left. When the map loads, the right one moves first. But if I don't use any move command in "Contents" and use autonomous movement instead, they start moving at the same time (I made sure there is no "wait for completion" rule set)
I don't mean to hijack the topic. I think the answer may also help OP.
ah yeah that's what im thinking but i'd just ask to see if theres another way to do it so i dont have to make custom..anyway thanks
animation
animation
Parallel process events are run before the map is visible actually in case of those already to be run when you reach the map...
as for autonomous movement, that is a parallel process actually in a sense... The trigger type of the event doesn't matter in this case since autonomous movement is "autonomous"... they're more of to be used for if you like for example an NPC which does something that is Action triggered to move on its own while it's not being triggered.
Basically, anything in Contents is run when the event is triggered while autonomous movement is run automatically when the map loads the events. It's that simple.
as for autonomous movement, that is a parallel process actually in a sense... The trigger type of the event doesn't matter in this case since autonomous movement is "autonomous"... they're more of to be used for if you like for example an NPC which does something that is Action triggered to move on its own while it's not being triggered.
Basically, anything in Contents is run when the event is triggered while autonomous movement is run automatically when the map loads the events. It's that simple.
"autonomous movement" is a limited form of parallel process optimized for movement.
It will create a lot less lag and CPU demands compared to a move route on parallel prozess.
On the other hand, because it is that specialized it can't do everything that can be done by a parallel process with the full event commands - and the parallel process got the priority that isn't needed for autonomous movements, because there are some uses for parallel processes where the commands need to be executed before the autoruns can start a cutscene.
"autorun", "parallel process" and "autonomous movement" each have their own purposes, and they will always behave a bit differently because of that...
Original thread: https://forums.rpgmakerweb.com/threads/npc-fight-npc.24887/