npc fight npc

whosdat29

Veteran
Veteran
Joined
Feb 18, 2014
Messages
53
Reaction score
0
First Language
english
Primarily Uses
how can you make two npc fight each other? im trying to make a cutscene like a kingdom is at war
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
use move route command perhaps...
 

whosdat29

Veteran
Veteran
Joined
Feb 18, 2014
Messages
53
Reaction score
0
First Language
english
Primarily Uses
it only commands to move
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
of course after moving, you're then gonna use things like show animation
 

Vinedrius

Member Title
Veteran
Joined
May 14, 2012
Messages
251
Reaction score
94
First Language
Turkish
Primarily Uses
RMVXA
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.
 
Last edited by a moderator:

whosdat29

Veteran
Veteran
Joined
Feb 18, 2014
Messages
53
Reaction score
0
First Language
english
Primarily Uses
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
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
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" ?
"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...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top