move_to_zone - ryzom/ryzomcore GitHub Wiki


title: Move To Zone description: published: true date: 2023-03-12T23:56:25.561Z tags: editor: markdown dateCreated: 2023-03-12T23:56:22.229Z

moveToZone

The moveToZone native AI script function moves the current group from one zone to another.

Syntax

()moveToZone(from: s, to: s)

Arguments

  • from (string): The name of the starting zone.
  • to (string): The name of the destination zone.

Example

()moveToZone("zone1", "zone2");

This example code moves the current group from zone1 to zone2.

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