During cutscenes I have a problem with the enemies killing players while they are watching. Anyway I can make every unit player x controls invulnerable?
its fairly easy, just have to create a unit group with all the players units, then iterate through it and switch on the invulnerable flag. however you may want to make everything invulnerable during a cut scene, as invulnerable units will still attack and do damage to non invulnerables.
And how would I make this unit group with all the players units when they've been created already and such. It seem unnecessarily inefficient to do so many calls for each units in units group x.
During cutscenes I have a problem with the enemies killing players while they are watching. Anyway I can make every unit player x controls invulnerable?
@Computer12: Go
its fairly easy, just have to create a unit group with all the players units, then iterate through it and switch on the invulnerable flag. however you may want to make everything invulnerable during a cut scene, as invulnerable units will still attack and do damage to non invulnerables.
@DarkShape80: Go
And how would I make this unit group with all the players units when they've been created already and such. It seem unnecessarily inefficient to do so many calls for each units in units group x.