The setAttackable native AI script function sets the attackable property of a group, which determines whether the group can be attacked by bots and players.
()setAttackable(Attackable: f)
()setAttackable(1);
This example code sets the group as attackable by bots and players.