despawn_bot_by_alias - ryzom/ryzomcore GitHub Wiki


title: Despawn Bot By Alias description: published: true date: 2023-03-13T16:11:40.017Z tags: editor: markdown dateCreated: 2023-03-13T16:11:40.017Z

despawnBotByAlias

The despawnBotByAlias native AI script function despawns a specific bot in the current NPC group by its alias.

Syntax

()despawnBotByAlias(alias: s) // despawnBotByAlias_s_

Arguments

  • alias (string): The alias of the bot to despawn.

Examples

()despawnBotByAlias('(A:1000:10560)');

This example code despawns the bot with the alias (A:1000:10560).

Notes

If the bot with the given alias does not exist in the current NPC group, no action is taken.

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