create_named_entity - ryzom/ryzomcore GitHub Wiki


title: Create Named Entity description: published: true date: 2023-03-12T12:51:53.808Z tags: editor: markdown dateCreated: 2023-03-12T12:51:49.930Z

createNamedEntity

The createNamedEntity native AI script function is used to create a named entity in the current AI service. A named entity is an entity that contains only four fields (name, state, param1, param2) and can be displayed in the web admin interface.

Syntax

createNamedEntity(name: s) // createNamedEntity_s_

Arguments

  • name (string): The name of the named entity to create.

Example

()createNamedEntity("Invasion");

This example code creates a new named entity with the name "Invasion".

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