-
Notifications
You must be signed in to change notification settings - Fork 94
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
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}
()loadFile(fileName: s) // loadFile_s_
- fileName (string): The path and name of the script file to load.
()loadFile("ais/attacks.ais");
This example code loads the "attacks.ais" script file from the "ais" directory and compiles it for the group.