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,143
Reaction score
12,416
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,931
Reaction score
3,959
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 Posts

Latest Profile Posts

Anyone have advice for recruiting friends to bugtest with you? I had some buddies volunteer without me asking, and we agreed on dates and times... and they all just flaked...
A mousefolk sprite I made, I think I did good.
Discovering math. functions for damage formulas was one of the greatest things for me.
It's very useful for balancing skills to work in a variety of possible circumstances.
For example if you have a skill that is supposed to work for both mages and warriors:
Code:
Math.max(a.atk * 2 - b.def, a.mat * 2 - b.mdf)
SpaceX: First-ever successful (manned) commercial spaceflight!! In these terrible and self-sabotaging times for the world, that's a ray of excitement and hope I needed badly.

Forum statistics

Threads
98,019
Messages
948,579
Members
129,276
Latest member
abhikhurana
Top