target_practice 162 Posted December 13, 2018 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
pierremgi 4743 Posted December 14, 2018 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. 2 Share this post Link to post Share on other sites
target_practice 162 Posted December 14, 2018 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