Question GSC spawning NPC AI on single player.


New Member
Hello. I've been recently trying to spawn NPC AI on my single player campaign, and I managed to do it with a gsc file I've found online:

However, my 1st question is:
I want to read the array, but I can't use println for that. How can I read the array and see the list of the NPCs?

My 2nd question is:
I want to spawn only ALLIES as NPCs, (No civils/neutrals, no enemies) but with the code showed above I can only spawn a random number from my array (which I can't see ... ). How can I make it spawn allied NPCs?

I am using a mod loader fixed from P!x and a test script you can find
You do not have permission to view link Log in or register now.
Ty for reading and I hope you have an answer!