21.06.2013, 11:38
Well it can't be done based on camera because of the widescreen option - there's no way to detect it. Resolutions come in to play also.
That angle is 45 degrees to the right, so just use the GetXYInFrontOfPlayer as if the player's angle is GetPlayerFacingAngle()+45.
EDIT: Okay, I misunderstood the question. What does the first player have to do with it though? Just edit GetXYInFrontOfPlayer and add 90 to the angle.
That angle is 45 degrees to the right, so just use the GetXYInFrontOfPlayer as if the player's angle is GetPlayerFacingAngle()+45.
EDIT: Okay, I misunderstood the question. What does the first player have to do with it though? Just edit GetXYInFrontOfPlayer and add 90 to the angle.