Question GSC spawning NPC AI on single player.

ing32

New Member
Messages
3
Points
3
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:
1593361334581.png

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!
 

P!X

Head Moderator
Staff member
Head Staff Team
Messages
388
Points
653
I searched them manually just using .classname & .targetname
 

Top