-
Notifications
You must be signed in to change notification settings - Fork 94
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
The destroyNamedEntity native AI script function is used to destroy a named entity.
()destroyNamedEntity(name: s) // destroyNamedEntity_s_
- name (string): The name of the named entity to destroy.
()destroyNamedEntity("Invasion");
This example code calls the destroyNamedEntity function with the name "Invasion", destroying the named entity with that name.