The setPlayerAttackable native AI script function sets a group as being attackable or not by players. A value of 0 means not attackable, while a value of 1 means attackable.
()setPlayerAttackable(Attackable: f) // setPlayerAttackable_f_
()setPlayerAttackable(1); // Make the group attackable by players
This example code sets the group as being attackable by players.