Jump to content
Sign in to follow this  
wyattwic

Adding or removing playable slots midgame

Recommended Posts

Hello everyone!

 

I am having a hard time finding out how to add or remove playable slots mid game.  Would anyone be able to point me in the right direction?

 

My goal is to make more roles available as a server fills up, to avoid having a raging abundance of pilots for no good reason.

 

Thank you!

Share this post


Link to post
Share on other sites

Let me get this straight. You don't want the playable units to be standing around on the map when no human players are controlling them ? If that's the case in your description file of you mission there should be a code line disableAI false; just set it to true. Now all the playable units will not show up on the map unless aumen player picks it from the start up menu. I think that's what you are asking.

Share this post


Link to post
Share on other sites

Hello everyone!

 

I am having a hard time finding out how to add or remove playable slots mid game.  Would anyone be able to point me in the right direction?

 

My goal is to make more roles available as a server fills up, to avoid having a raging abundance of pilots for no good reason.

 

Thank you!

I believe the only serious way to do this is script a bunch of stuff yourself, primarily with createAgent and selectPlayer and then just putting all the normal slots down as rifleman. You'd then need some sort of role selection which allows you to select pilot only on certain (player number) conditions. createAgent with the correct unit class and there you go. 

Share this post


Link to post
Share on other sites

A simple way is to limit the playable pilot units and have it that only pilots can fly. There is a way in arma2 to setup the mission for this but I never used it in a mission. There was an issues with the gunner switching to the pilot position once in the vehicle. I don't know if that is still an issue in arma3. I did not fully understand what you were asking about avoiding having a abundance of pilots for no good reason.

 

Share this post


Link to post
Share on other sites

Okay, I realize that my goal was not all that clear.  My question should probably be chocked up to, has anyone tested to see if setplayable is working post update?   I am somewhat lacking on available assistance at the moment to test this.

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
Sign in to follow this  

×