CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Modern Warfare 2
GSC spawning NPC AI on single player.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ing32" data-source="post: 50599" data-attributes="member: 343399"><p>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:</p><p>[ATTACH=full]3804[/ATTACH]</p><p>However, my 1st question is:</p><p>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?</p><p></p><p>My 2nd question is:</p><p>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?</p><p></p><p>I am using a mod loader fixed from P!x and a test script you can find <a href="https://www.youtube.com/redirect?event=video_description&v=mfNiCaX1u_k&q=https%3A%2F%2Fcdn.discordapp.com%2Fattachments%2F720940688593911839%2F720968330294460546%2Fbot_spawning_test_script.rar&redir_token=9arMp1AOStxQENvd839Y1jYQ3IZ8MTU5MzQ0NzkwMUAxNTkzMzYxNTAx" target="_blank">here</a>.</p><p>Ty for reading and I hope you have an answer!</p></blockquote><p></p>
[QUOTE="ing32, post: 50599, member: 343399"] 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: [ATTACH type="full"]3804[/ATTACH] 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 [URL='https://www.youtube.com/redirect?event=video_description&v=mfNiCaX1u_k&q=https%3A%2F%2Fcdn.discordapp.com%2Fattachments%2F720940688593911839%2F720968330294460546%2Fbot_spawning_test_script.rar&redir_token=9arMp1AOStxQENvd839Y1jYQ3IZ8MTU5MzQ0NzkwMUAxNTkzMzYxNTAx']here[/URL]. Ty for reading and I hope you have an answer! [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Modern Warfare 2
GSC spawning NPC AI on single player.
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top