"Number of units in a group" is not dynamic ?
Hello, First, i want to excuse me for my bad english because i am french. In my new campaign "The fall of Nùmenor : Akallabeth", at the beginning of the chapter 2, a new quest must be completed when we have killed a group of ennemy units. I have so create a new group at the "initialization" and i want that the quest were completed when "number of units in this group" become 0. But i realize that the "number of units in this group" does not decrease when we kill the ennemies. Is it a bug or is it normal ? Thanks ( and congratulation if you understand )
btw prob your problem is that you said "number of units is 0" -> you have to use a boolean comparison" -> "Unit Group - Units of Unit group Are Dead" Equal To True
trigger example
Trigger01 Events Unit - A unit owned by [Here The Player that owns the units] Dies Conditions (All units of [Here the group (variable)] are dead) Equal to True Actions -> Following Actions
Thanks, I was mistaken because my trigger looked like : Events Unit - A unit owned by [Here The Player that owns the units] Dies Conditions Number of Units in (variable) is Equal to 0 Actions -> Following Actions
but when a unit die, it don't disappear from his group. I had not made map for a long time and i didn't remember this boolean comparison existed. Thx