PutShipRel

From NexusWiki
Revision as of 14:34, 16 August 2010 by 93.241.45.55 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.