assignedTarget _unit
Running this on a dedicated server returns objNull when AI _unit (local to server) targets player on client. This is the case even after _unit has started firing at target.
Returns player object when run on a player hosted server. I.e. it works correctly when run on a player hosted server, if the target is a player on the player hosted server or on a client.