command forEach array
Type of returned value
Execute given command for each element of array.
It is executed as follows:
For each element of array assign element as _x and execute command.
"_x setdammage 1" forEach units group player