Skip to content

destroy_named_entity

Ryzom Core Wiki edited this page Jul 8, 2024 · 4 revisions

title: Destroy Named Entity description: published: true date: 2023-03-16T23:06:21.871Z tags: editor: markdown dateCreated: 2023-03-16T22:22:44.234Z

destroyNamedEntity

The destroyNamedEntity native AI script function is used to destroy a named entity.

Syntax

()destroyNamedEntity(name: s) // destroyNamedEntity_s_

Arguments

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

Examples

()destroyNamedEntity("Invasion");

This example code calls the destroyNamedEntity function with the name "Invasion", destroying the named entity with that name.

Clone this wiki locally