Skip to content

start_wander

Ryzom Core Wiki edited this page Jul 8, 2024 · 3 revisions

title: Start Wander description: published: true date: 2023-03-16T23:12:11.299Z tags: editor: markdown dateCreated: 2023-03-16T22:30:11.381Z

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.

Clone this wiki locally