errm - there's something goin wrong here
First: it's
thislist and not
this listyou see - one word not two
When using it in two words, it is:
list thisSecond: thislist or list triggername is already an array,
therefore you don't need to add
units before.
units groupname = an array of units
thislist = an array of objects, related to a trigger's activation details.
list this or list triggername = equal to thislist
Third: i would recommend to create a reference to the number
of all units in the trigger list at the beginning:
max_units = count list triggername
Then i would use max_units as a base and compare the actual
number of alive units in the trigger to it.
"alive _x" count thislist < (max_units * 0.
:note - you need to take care that max_units needs to be already a valid number, to make the condition work.
Therefore i would further suggest to do it that way:
trigger A: (that's the trigger we're talking about)
Activation: whatever_side_you_want / present / once
name: triggerA
condition: this
onActivation: max_units = count thislist
trigger B: (that's the one where you check for the 80 percents)
condition: "alive _x" count list triggerA < (max_units * 0.
onActivation: hint "whatever you want"
::note - off course you don't need that hint at the end - just follow the message, the hint tells you
~S~ CD