You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setActivity native AI script function changes the activity of the group.
Syntax
()setActivity(Activity: s)
Arguments
Activity(string): The activity name the group will take. Valid activities are: "no_change", "escorted", "guard", "guard_escorted", "normal", "faction", "faction_no_assist", and "bandit".
Example
()setActivity("bandit");
This example code gives a "bandit" activity to the group.