yes, I need to join the created soldier into the group
-> and that is the failure, because the first argument given to createunit is the group:
unit = _group_ createunit [...];
the soldier should allready be in that group after calling createunit with that syntax...
It makes no problems if create a green soldier with a I_Soldier-Class:
grp = creategroup resistance;
grp createunit ["I_soldier_F",getMarkerPos "ziel",[],1,""];
works fine (will create a green-faction Soldier), but
grp = creategroup resistance;
grp createunit ["B_soldier_F",getMarkerPos "ziel",[],1,""];
not and create a blue-faction soldier.
the side given to the created unit should not depend on the vehicle-classname...