Thank you for your quick reply!
I will try this option. I was close to this solution, but used underscores between leader and groupname, like leader_groupName.
Edit:
mmm... Still no luck.
I grouped the player and the second unit by typing in the player's init box:
preyGroup = units group this;
In a script, called via Radio Alpha for testing, I wrote:
preyPosition = position leader preyGroup;
publicVariable "preyPosition";
hunterGroup move preyPosition;
exit;
In the mission preview there appears an error message saying: 'preyPosition = position leader preyGroup|#|; Error leader: Type Array, expected Object,Group
I also tried:
preyPosition = position leader group preyGroup; -> no luck
preyPosition = position (leader preyGroup); -> no luck
preyPosition = position leader group player; -> works, but what if no player should be hunted?
EDIT 2:
OK, solved it!
preyPosition = position leader (preyGroup select 0);
Don't know why, but this works fine for now...