Skip to content

load_file

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

title: Load File description: published: true date: 2023-03-16T23:08:33.202Z tags: editor: markdown dateCreated: 2023-03-16T22:25:34.978Z

loadFile

The loadFile native AI script function loads an AI script file and compiles it for the group.

This document was autogenerated and has not yet been verified. {.is-danger}

This function is not intended for production use. {.is-danger}

Syntax

()loadFile(fileName: s) // loadFile_s_

Arguments

  • fileName (string): The path and name of the script file to load.

Example

()loadFile("ais/attacks.ais");

This example code loads the "attacks.ais" script file from the "ais" directory and compiles it for the group.

Clone this wiki locally