Jump to content
david-grylls

Disable AI for Playable Units

Recommended Posts

Hey everyone,

just wondering how you can disable the AI from spawning in the mission if it is playable unit. Before you start the mission you have the option to Disable/Enable AI however I have played missions where the AI is automatically disabled for the playable units. How do you do this or am I just imagining things?

Thanks,

D.G.

Share this post


Link to post
Share on other sites

if you don't have a description.ext in mission folder root then make one and add this.

DisabledAI = 1;// 0 Fills empty playable slots with AI, 1 They Don't fill the empty slots

  • Like 2

Share this post


Link to post
Share on other sites
if you don't have a description.ext in mission folder root then make one and add this.

DisabledAI = 1;// 0 Fills empty playable slots with AI, 1 They Don't fill the empty slots

Thank you very much!

Share this post


Link to post
Share on other sites

It took me so long to realise that the code reads 'disabledAI' and not 'disableAI'. Don't make my mistake people hahahaha.

Share this post


Link to post
Share on other sites

You can also do it from within the editor under the menu:

Attributes -> Multiplayer -> Lobby -> Enable AI

 

I think the description.ext supercedes anything done through the editor anyway, and i usually do what i need through it. But the editor is a quick and easy option if you're in the mood for it. 

  • Like 1

Share this post


Link to post
Share on other sites

setPlayable

I highly doubt this command is working, but who knows it's worth a shot since the docs don't necessarily update this kind of stuff very often.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×