-
Notifications
You must be signed in to change notification settings - Fork 94
set_activity
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Set Activity description: published: true date: 2023-03-16T23:09:54.406Z tags: editor: markdown dateCreated: 2023-03-16T22:27:17.157Z
The setActivity native AI script function changes the activity of the group.
()setActivity(Activity: s)
- 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".
()setActivity("bandit");
This example code gives a "bandit" activity to the group.