set_sheet - ryzom/ryzomcore GitHub Wiki


title: Set Sheet description: published: true date: 2023-03-16T23:11:29.077Z tags: editor: markdown dateCreated: 2023-03-16T22:29:17.577Z

setSheet

The setSheet native AI script function changes the sheet of a creature.

Syntax

()setSheet(sheetName: s) // setSheet_s_

Arguments

  • sheetName (string): The name of the new sheet to use.

Examples

()setSheet('ccdeb2');

This example code changes the sheet of the current creature to ccdeb2.

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