Jump to content
target_practice

Playable groups in multiplayer

Recommended Posts

How do groups consisting of playable units behave in multiplayer?

Are they present throughout a mission regardless of them containing any connected players, or do they change in accordance to that?

By extension, is it possible to refer to playable units which are not being played by anything?

Share this post


Link to post
Share on other sites

Sure playableUnits returns all 3den playable units, except when you disable AI in lobby (MP)

To recap:

switchableUnits = 3den playable units in SP, returns [] in MP

playableUnits = 3den playable units if not disabled in lobby, or = allPlayers (players in game, dead or alive) if you disabled all AIs in lobby. Returns [] in SP.

allPlayers returns all players in game, at the moment you call this command.

 

In MP, you can refer to a specific playable units by its name, played or not played.

In specific case you disable AI in lobby, the unit and the variable name haven't any "existence" before JIP.

  • Like 2

Share this post


Link to post
Share on other sites

So the groups/units don't exist before a player occupys them with AI disabled, correct?

What happens to them if the players leave mid-game?

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

×