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

title: Import description: published: true date: 2023-03-16T23:08:15.051Z tags: editor: markdown dateCreated: 2023-03-16T22:25:11.750Z

import

The import native AI script function imports and executes a script defined in a script rep.

Syntax

()import(libName: s)

Arguments

  • libName (string): The name of the library to import.

Example

()import("script_boss");

This example code imports and executes the script "script_boss" in the current AI script context.

Clone this wiki locally