kRPC: Control the game using C#, C++, Java, Lua, Python...

kRPC: Control the game using C#, C++, Java, Lua, Python...

7.8k Downloads

Ability to Pause game using krpc

cknowles2112 opened this issue · 4 comments

commented

I'm building a simpit, and the only function I've not found in krpc that would be helpful is a pause function.

While I'm aware that pausing is a function you can attach to an alarm, my tests show that setting instantaneous alarms doesn't quite work as expected. So a straightforward pause function would be awesome.

commented

Do you mean pause the game entirely? Our pause your client program until some event occurs? If you mean the latter, that's coming in v0.4.0 :)

commented
commented

This is related to #347

commented

I've implemented this for v0.4.0. For example:

import krpc
conn = krpc.connect()
conn.krpc.paused = True