set_fauna_activity - ryzom/ryzomcore GitHub Wiki


title: Set Fauna Activity description: published: true date: 2023-03-12T01:46:41.167Z tags: editor: markdown dateCreated: 2023-03-11T22:57:39.077Z

set_fauna_activity

The set_fauna_activity action toggles the fauna-related activity of all bots in the NPC group or state that the action is run on.

Available modes of fauna activity are rest and food.

For fauna bots that have specified rest and food zones, the bots will migrate between these.

Parameter Syntax

rest|food

Parameters

  • rest|food: The mode of fauna activity to toggle. Can be either rest or food.

See also

  • Set Flags on Dyn Zones: An action that sets specified flags on a cell under the current state node. This action can be useful for controlling the behavior of fauna in specific areas.
⚠️ **GitHub.com Fallback** ⚠️