I will try that using targetship get actor forward vector to player ship.
How would I turn the line of sight from ship to ship vectors to plyrShip->GetActorForwardVector() - plyrShip [GET.CAMERA[NAME==PERISCOPE_CAM]] ?
edit Also any tips for consildating the GetBearing and GetRelativeBearing funtions i’ll be making so it takes in two input pawns and returns two floats. Im trying static void Bearing(const APawn& TargetShip, const APAwn& PlyrShip, float &brg, float &brgRel); from googling but errors all over
Edit3: OOps I was forgetting my UMyClass::Myfunction and just calling MyFunction I think I got the multiple in.out now