Support sending commands while not connected (offline)

Coherence is obviously a multiplayer framework, but many games will want to support solo play as well I imagine. Being able to use the same network objects in both offline and networked environments would be ideal.

I tried to send commands with “Authority Only” and “All” while offline, but the command is not received/processed by the object the command is being sent to.

Since authority is irrelevant in offline play, I was thinking that either MessageTarget type could possibly send commands to the object appropriately when no connection is detected. Or, maybe just a flag or Coherence setting to say “Process Commands while Offline” or something like that would make more sense, since maybe there are some cases where this would not be desired (though I can’t think of any myself)

2 Likes

And one more for the system. Thanks again @Neodamus .

Hi again. Sorry it’s been a while. Just wanted to follow up and say this was introduced with 1.1.