C++ Question Multiple Docking Ports

lethal_d0se

Addon Developer
Addon Developer
Joined
Jan 23, 2010
Messages
15
Reaction score
0
Points
0
Hello all, i'm using the ShuttlePB sample files to create a .dll for my ship. However the ShuttlePB only has one docking port.

How would one go about creating multiple docking ports?

Thanks for your time.
 
Hello all, i'm using the ShuttlePB sample files to create a .dll for my ship. However the ShuttlePB only has one docking port.

How would one go about creating multiple docking ports?

Thanks for your time.

Use the CreateDock API call.
 
Hello all, i'm using the ShuttlePB sample files to create a .dll for my ship. However the ShuttlePB only has one docking port.

How would one go about creating multiple docking ports?

Thanks for your time.

DOCKHANDLE Dock0,Dock1;

Dock0 = CreateDock(_V(0,-2.248,13.097), _V(0,0,1), _V(0,1,0));
Dock1 = CreateDock(_V(0,-2.248,13.097), _V(0,0,1), _V(0,1,0));
 
Back
Top