start_wander - ryzom/ryzomcore GitHub Wiki


title: Start Wander description: published: true date: 2023-03-12T16:46:03.784Z tags: editor: markdown dateCreated: 2023-03-12T16:46:00.200Z

startWander

The startWander native AI script function sets the activity of a group to wander around their current position. The dispersion of wander activity is defined by the radius argument.

Syntax

()startWander(Radius: f)

Arguments

  • Radius (float): The dispersion of the wander activity.

Example

    ()startWander(100); // Gives a wander activity to the group with dispersion of 100 

This example code sets the activity of the group to wander around their current position with a dispersion of 100.

⚠️ **GitHub.com Fallback** ⚠️