start_moving - ryzom/ryzomcore GitHub Wiki
title: Start Moving description: published: true date: 2023-03-16T23:12:05.059Z tags: editor: markdown dateCreated: 2023-03-16T22:30:03.279Z
The startMoving native AI script function sets an activity to move a group to a specific location.
()startMoving(x: f, y: f, radius: f) // startMoving_fff_
- x (float): The X-coordinate of the target location.
- y (float): The Y-coordinate of the target location.
- radius (float): The radius of the wander activity.
()startMoving(100,-100,10); // Moves the group to (100,-100) with a radius of 10
This example code sets an activity for the group to move to the location (100,-100)
with a radius of 10.