RPG Maker MZ

RPG Maker MZ

yotosun May 20, 2022 @ 1:20pm
NPC transparency?
I'm trying to make a cutscene where my character says a few lines then an npc comes into frame. I have him in the doorway with transparency off while my character is doing his thing but how do i switch his transparency back on and have him do the actions i need him to? i'm super new to this and couldnt really gather how to do it from any of the tutorials i watched. any help would be appreciated.
< >
Showing 1-3 of 3 comments
Moga CMDR May 20, 2022 @ 3:23pm 
(Event Commands> Second Tab > Character> Change Transparency)

When it's time for them to show up you can do that inside of the event. Depending on how you have it all set it you may have to set this to wait for a condition to be met. Such as a switch.

For example, a different event is handing the dialog/cutscene up until now. When that event is done, it can turn a switch on.
(Event Commands> First Tab> Game Progression > Control Switch)

Lets say that switch is named "BobsEntrance" or something.

"Bob" The character event can have the actions needed, including changing the transparency all set to wait until this switch is active. Inside the content of the event, set up the transparency change, motion if needed, and then the dialog. But on the left side of the event window there is the "Conditions" area. You can check one of the switch boxes, and select which switch will trigger this event.

You would set up this character with the "parallel" trigger condition. This is near the bottom of the event editor window. This means it will keep checking to see if the switch is ready. (if you are new to these, don't use too many of these active in one scene, but that's a different discussion. )

Once the switch is enabled, it will run through the actions. Once completed you have a few ways to end this event. You could erase the event, switch to another event tab*, change rooms or even turn off the BobsEntrance switch. What works best really depends on your needs.

But that should get you started.

*probably best approach for this. Bob can have two event pages. One waiting to do their dialog, and the second event page for after they have given the dialog. But again, depends on what you need.
Last edited by Moga CMDR; May 20, 2022 @ 3:48pm
Caethyril May 21, 2022 @ 2:49am 
The Change Transparency command affects the player. For events, you can make use of page conditions or the Transparency ON/OFF move route commands.

Parallel events allow the player to move freely. For any time when the player should not be able to control their characters (e.g. cutscenes), the Autorun trigger is recommended.

How you make the NPC appear depends on how you've set them to be transparent. What I'd do is give the NPC event 1 page with a condition "Switch X is ON". Page conditions are checked in reverse order (e.g. 3, 2, 1): the first one whose conditions are met becomes active. If no pages are active, the event does not appear. So you could have your cutscene event turn on that switch to make the NPC appear, then off again if/when you want them to disappear.

You may find this guide helpful:
https://steamcommunity.com/sharedfiles/filedetails/?id=2758511669
.shroomy_rxcks. May 24, 2022 @ 5:45pm 
You could do those things, or change transparency in the move route.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: May 20, 2022 @ 1:20pm
Posts: 3