Skip to content

move_to_zone

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

title: Move To Zone description: published: true date: 2023-03-16T23:08:45.234Z tags: editor: markdown dateCreated: 2023-03-16T22:25:50.672Z

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.

Clone this wiki locally