How do I make a character appear behind another character when they enter the scene?

Posted: 02 Jun 2021 07:37
by Stellar

If I have a character in the scene, and I bring in a second character, how do I make that second character character appear behind the first character instead of in front? Thanks!

Image


Re: How do I make a character appear behind another character when they enter the scene?

Posted: 02 Jun 2021 08:24
by idaot

Hi, you can sort the characters on the z-axis via the third value in position: or pos:

Example:

; Make Sora appear at the bottom-center and in front of Felix
@char Sora pos:50,0,-1
@char Felix pos:,,0

Check the @char command guide for more information: https://naninovel.com/api/#char


Re: How do I make a character appear behind another character when they enter the scene?

Posted: 02 Jun 2021 11:26
by Stellar

That worked. Thank you!

FYI for anyone reading. Be careful to put the z-axis in the right order. "-1" is in front, not behind!