krpc icon indicating copy to clipboard operation
krpc copied to clipboard

can krpc control multiple ships at the same time?

Open submarine1984 opened this issue 3 years ago • 3 comments

can krpc control multiple ships at the same time? I try to control another rocket by Control.ActivateNextStage() when I control a flighting plane. Then it will throw an error. Does it only control the Active vessel?

submarine1984 avatar Apr 10 '22 07:04 submarine1984

If someone knows how to do this with kRPC, I would love to know!

rallen10 avatar May 04 '22 22:05 rallen10

If someone knows how to do this with kRPC, I would love to know! I do not read the source code. But I confirmed after I experiment that it is could to done within 200 meters. Just make a series of variables representing multiple ships. But the rocket speed is too fast for the range of 200 meters so I do not know what it can do.

submarine1984 avatar May 07 '22 04:05 submarine1984

I believe you can since you can get a list of vessels. I suggest you use the mod Physics Range Extender to get rid of the 200m range limitation.

Koropiki avatar Oct 17 '22 16:10 Koropiki