The setActivity native AI script function changes the activity of the group.
()setActivity(Activity: s)
()setActivity("bandit");
This example code gives a "bandit" activity to the group.