OMG macguba your a genius!!! :wow:
ok, so the changing group name didn't work obviously but because you said ofp wasn't logical ( ;D I knew that already) I started thinking what else weird things I could try to make the script work.
So first I increased the delay between each row from ~0.5 to ~2.5 and noticed that now I only had 3 units created.
:hmm:
Slowly my brain started to show signs of some action and I removed the delays totally resulting 11 soldiers in my group
:thumbsup:
So, to sum it up, the 0.5 second delays were messing up the script. Don't know why, don't really care as long as it works.
The only downside in this is that I inserted the delays to decrease lag. Creating 11 sildiers at once causes the game to lag for about 0.3 seconds and even more in MP.