common event actor graphic change with actor problem

Status
Not open for further replies.

whotfisjojo

Swallow the Green Goo? >Yyeesss >NO!!!
Member
Joined
Jun 5, 2019
Messages
25
Reaction score
6
First Language
English
Primarily Uses
RMVXA
Hi everyone! I was able to make a parallel process common event that successfully changed the 1st actor's graphic with a conditional branch when the 2nd actor joined the party.
However, a problem arose:
I can no longer sprint once the 2nd actor joined as it constantly updates the player graphic, because it's a parallel process, so it sees
Code:
@>Conditional Branch: [2nd Actor] is In the Party
@>Set Move Route: Player
@>              :  $>Graphic: '1stactorand2ndactorcharacter', 0
: Else
  @>
: Branch End
@>
and repeats it over and over.
What should I do to fix this? Thanks! :0)

EDIT:
Nevermind! I figured it out! The correct way to do it is this way!
Code:
@>Conditional Branch: [2nd Actor] is In the Party
@>Change Actor Graphic: [1st Actor], '1stactorand2ndactorcharacter',0,'face',0
@>
: Else
  @>
: Branch End
@>
 
Last edited:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,137
Reaction score
12,408
First Language
English
Primarily Uses
RMMV
If it only needs to run when the second actor joins the party, why did you make it a parallel event? You don't even need to make it a common event. Just do the Change Actor Graphic at the time the second actor joins the party, right after the Change Party command.

Setting a move route on the player will also only work while you're on that map. As soon as you transfer, it'll go back to what it originally was.

The sprinting issue is also because you used a move route on the player, which would interfere with any movement you were trying to do via the keyboard.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
2,912
Reaction score
3,948
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

I based this on the armor of Actor 1_7 of the RTP. Hair is from Derex and Sythian Bard.
Stream will be live shortly! Going to do another art stream tonight so that I can finish my Fauna Focus piece~ Feel free to drop by!
Humans are fallible creatures, we all know that. It's when we're forced to look at ourselves that we start to disagree. :p
Expectation: Working on boss battle.
Reality: "Look at how awful are these code and database organization. Let me clean this mess", *yet, casually adding more modules that I have no idea if I would use it later*
Trying to learn to read Japanese so I read my manga. I like to buy them without all the edits made during translation.

Forum statistics

Threads
97,864
Messages
947,446
Members
129,086
Latest member
mikeymastermind
Top