string query_objective()

Description
        Returns her, him, it respectively.
This is only defined on npcs and players.
