-
Notifications
You must be signed in to change notification settings - Fork 94
set_mode
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Set Mode description: published: true date: 2023-03-16T23:11:05.017Z tags: editor: markdown dateCreated: 2023-03-16T22:28:46.002Z
The setMode native AI script function is used to set the mode of every bot in a group. The valid modes are "Normal", "Sit", "Eat", "Rest", "Alert", "Hungry", and "Death".
()setMode(Mode: s)
- Mode (string): The mode name to set.
()setMode("Alert");
This example code sets the mode of every bot in the group to "Alert".