Thank you both again for your help,
I really, really appreciate it!

Originally Posted By: txesmi
It is hard to know what are you exactly trying.


I want to clarify it a bit better, it is hard for me to describe properly.
The Game is layered like this:


The Game is from a Top-Down Perspective
Left = -X
Right = +X
Up = -Y
Down = +Y
And Zooming out would then technically be -Z, zooming in +Z

The Background (Grey rectangle) is no problem, just a texture, and it could be exactly at vector(0,0,0)

The NPC-layer (orange rectangle) is where NPCs walk on. Basically, NPCs would need a smaller Z (perhaps vector(0,0,-10) so they don't clip into the background layer.
However, this
a) causes parallax scrolling when the camera moves, "floaty" layers
b) All NPCs on the NPC-layer all have the same Z, so they also clip into each other

Now, I understand that d3d_entsort could solve Problem b) by always making the one NPC go on top, who is closer to the camera on the Y-Axis but I can't wrap my head around the 3-dimensionals yet and changind d3d_entsort has not brought me any success.

This is way harder for me than I thought shocked