The field target of an actor can be either a id of the target of the current command, or a tuple of two ids, which makes the reasoning on the state variable harder. Is that really necessary to be a tuple? It should be noted that in the documentation it is supposed to be a sole identifier.