import - ryzom/ryzomcore GitHub Wiki


title: Import description: published: true date: 2023-03-12T23:49:46.217Z tags: editor: markdown dateCreated: 2023-03-12T23:49:42.967Z

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.

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