get relative transform of an object to another

thanks for your time. I’ve tried that before and had no luck.
you see I’ve encountered a similar issue before in 3ds max and using the approach in the link below I got wat I wanted:

Getting object positions relative to another object’s local space? | ScriptSpot

that’s why I dug out “reverse transform” of unreal but I’m missing something crucial here, I guess.