Myo-Wolf

Villager
Member
Joined
Aug 1, 2015
Messages
5
Reaction score
0
First Language
English
Primarily Uses
First, I'd like to say that I'm terribly sorry if I sound like an idiot when I ask this. I'm a newbie, after all.

Now, for the real question: How does one make an event that can be used by different actors in your party?

I can't seem to find the answer anywhere online, so I needed to ask it here. The explain, I mean that I want to create an event that acts differently for different players in your party. When you have multiple players that can use the event, I want to be able to choose one of them to play. My best example of this is the fan-made Hetalia game "HetaOni", where you can play the piano as Japan, Italy, and Britain, and each of the characters have a different song they play. When you have two of them, or all of them, in your party, you can choose which character is going to play the piano. This is exactly what I want to be able to do.

I'm not sure if it's even possible to do this in RPG Maker VX. If it's not, that okay. I'm only using the demo at the moment and should get the full version soon if I save enough.

I thank you in advance for answering this if you did. Remember, I'm extremely new to game making so some terms may be new and strange to me. I may ask you to clarify.

Thanks again.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
In Ace, you can see in the Conditional Branch whether an actor is in the party. You can also get the actor id of the leader into a variable using Control Variables and use that in a Conditional Branch. These would let you see if an actor is IN the party, and if an actor is the leader.


I can't open my VX at the moment, but I'm pretty sure it would be the same.


So if you want an event to behave differently depending on whether an actor is in the party or is the leader of the party, just use conditional branches to check who's there and take the appropriate action.
 

Myo-Wolf

Villager
Member
Joined
Aug 1, 2015
Messages
5
Reaction score
0
First Language
English
Primarily Uses
In Ace, you can see in the Conditional Branch whether an actor is in the party. You can also get the actor id of the leader into a variable using Control Variables and use that in a Conditional Branch. These would let you see if an actor is IN the party, and if an actor is the leader.

I can't open my VX at the moment, but I'm pretty sure it would be the same.

So if you want an event to behave differently depending on whether an actor is in the party or is the leader of the party, just use conditional branches to check who's there and take the appropriate action.
Thank you so much! It's finally working! The only thing is, it goes on to play the event for my other character after it plays for the one I chose first, but I'm sure I can figure out how to stop that. 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
Did you put the "other character" into the Else block? Show a screenshot of your event and we'll help you fix it :)
 

Myo-Wolf

Villager
Member
Joined
Aug 1, 2015
Messages
5
Reaction score
0
First Language
English
Primarily Uses
No, I didn't put the other character in the Else block. Was I supposed to? I'm still getting used to this forum thing, so this is as close as I can get to a screenshot:

@>Conditional Branch: [Ludwiga] is In the Party

                @>Conditional Branch: [Melody] is In the Party

                                @> Text: -, -, Normal, Bottom

                                :               : Who’s going to play?

                                @> Show Choices: Ludwiga, Melody

                :               When [Ludwiga]

@>Text: ‘Actor1 copy copy’, 0, Normal, Bottom

                : It looks like a normal piano. Sweet, let’s

: see if it’s in tune!

                                                @>Play ME: ‘Myo Piano’, 100, 100

                                                @>Wait: 500 frame(s)

                                                @>Text: ‘Actor1 copy copy’, 0, Normal, Bottom

                                                :               : It sounds great! I bet it sounds better when

                                                :               : it’s not me playing it.

                                                @>

                                :               When [Melody]

@>Text: ‘People3’, 5, Normal, Bottom

                : Oh my gosh, a piano!

                                                @>Play ME: ‘Melody Piano’, 100, 100

                                                @>Wait: 500 frame(s)

                                                @>Text: ‘People3’, 5, Normal, Bottom

                                                :               : It sounds great!

                                                @>

                                :               Branch End

                                @>

                :               Else

                                @>

                :               Branch End

                @>

:               Else

                @>

:               Branch End

@> Conditional Branch: [Melody] is In the Party

@>Text: ‘People3’, 5, Normal, Bottom

: Oh my gosh, a piano!

                                @>Play ME: ‘Melody Piano’, 100, 100

                                @>Wait: 500 frame(s)

                                @>Text: ‘People3’, 5, Normal, Bottom

                                :               : It sounds great!

:               Else

                @>

:               Branch End

Sorry if that's confusing... There's also a third character that supposed to use this event, but he doesn't come in until later in the game.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
Wow, that must have taken ages to type out! Why didn't you just post a screenshot?


How to take a Screenshot:


You've heard people say to take a screenshot, but how does one take a screenshot of their game? Simple, while the game is running, hit the Prt Scr button on your keyboard, which is located right next to your F12 key. If you're using a laptop, you might have to use the Fn key in combination with the Prt Scr key to get it to work.

Now that you've pressed the button, it's time to paste this screenshot into an image editing software. If you don't have anything fancy such as Adobe Photoshop, GIMP or Paint.NET, no worries; you can use MS Paint instead. Open up your image editing software, create a new file, and then hit ctrl+v on your keyboard, or simply right click on the screen and select paste. This should instantly paste the screenshot into your image editing software. You can go ahead and crop the image to suit your needs, or if you don't even know what that means, you can just upload it as it is.

Save the image as a PNG, or if you really need to, as a high quality JPG.


How to upload the image to the forums


Now that you have you have an image on your computer you'd like to show us, how can you get it to show up on the forums? Firstly, you need to find an image hosting site, photobucket.com or imageshack.us are popular ones. If you have another image uploading website, great - use that one! Either way, upload it to the site, and then get the direct link. Don't get the resized link, or the thumbnail link, but the direct URL. You'll know you have the direct URL if the URL ends with the file extension you saved your image in (which will hopefully be .png).



Once you have this direct URL to your image, simply use the IMG tags in your forum post and paste the URL in between them. If this image is big, please leave the image in spoiler tags.

IMG tags:



Well, what is meant to happen if they're both in the party?
 

Myo-Wolf

Villager
Member
Joined
Aug 1, 2015
Messages
5
Reaction score
0
First Language
English
Primarily Uses
I tried to post the screenshot to my deviantART sta.sh, but I wasn't sure if it was show up on the forum, so I just wrote it out to be sure it'd show up. Besides, I'm a fast writer, so it really didn't take that long.

When they're both in the party, the event should ask which one is going to play the piano, which it does. When I choose one of them, it should play through their cutscene and allow the music to continue while the actor is in the room. When I choose, say, Ludwiga, it plays her song just like it should, but when her cutscene ends, it stops the music and plays Melody's cutscene.
 

Myo-Wolf

Villager
Member
Joined
Aug 1, 2015
Messages
5
Reaction score
0
First Language
English
Primarily Uses
It's really late at night where I live, but I'd just like to say that I just fixed the problem. Thank you so much for your help. I know I would never have been able to fix the problem or learn how to use a Conditional Branch and everything else without your help. Thanks so much, again.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

"You can thank my later", "But you haven't done anything", "Well, that's why ..."
Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

Forum statistics

Threads
105,884
Messages
1,017,238
Members
137,608
Latest member
Arm9
Top