Jump to content
recognite

JIA with disabledAI=1

Recommended Posts

Hey there,

 

in the Editor I put several playable units. They are listed in the start-menu of my mission as expectet. If I die, I want to select another playable unit. That is only possible, if disabledAI=0.

 

BUT: I also want, that all the playable units are only in the game, if they were selected by an human player.

 

Is that possible?

 

 

 

I tried:

disabledAI=0;

respawn=4;

Share this post


Link to post
Share on other sites

Not exactly possible. Kind of possible if you run a dedicated server though as you can back out to lobby and rejoin.

Share this post


Link to post
Share on other sites

Hmm, interesting one this... Perhaps check out these two things:

 

This will disable the AI, meaning that you can use "disableai = 0", so the AI will spawn, but will not move at all or engage targets. 

 

https://community.bistudio.com/wiki/disableAI

 

If you combine the above with you this, you can also make the units invisible, although I think this effect may remain after you respawn as another playable unit, if you're interested I'll find a way around that...

 

https://community.bistudio.com/wiki/hideObject

 

If they help then great, if not feel free to ask more questions!

Share this post


Link to post
Share on other sites

thank you guys. actually this is a dedicated server. @silentspike: before I try out the suggestions of awkwarded, I'll give your idea a try. Exactly what you wrote, is , what I wanted to reach.

 

You die - disconnect - select another playable unit - get back to game and start at base, where every unit started and starts. That would be great.

 

Which settings do I have to assign in the description.ext?

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

×