PutShipRel

From NexusWiki
Jump to: navigation, search

PutShipRel (ship, targetShip, relx, rely, relz, orient);

It puts the ship to a position relative to another ship. The position has to be given in the targetship’s co-ordinate system (Z is the fore-axis of the ship, Y is the perpendicular axis). ’orient’ is the direction of the ship: 0 – it is corresponding with the targetship, 1 – it looks towards the targetship, 2 – it stands with its back to the targetship.