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.
createNamedEntity(name: s) // createNamedEntity_s_
()createNamedEntity("Invasion");
This example code creates a new named entity with the name "Invasion".