load_file - ryzom/ryzomcore GitHub Wiki
title: Load File description: published: true date: 2023-03-13T01:13:14.999Z tags: editor: markdown dateCreated: 2023-03-13T01:13:11.785Z
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.