despawn - ryzom/ryzomcore GitHub Wiki


title: Despawn description: published: true date: 2023-03-16T23:06:13.003Z tags: editor: markdown dateCreated: 2023-03-16T22:22:33.378Z

despawn

The despawn native AI script function despawns the current group.

Syntax

()despawn(Immediatly: f)

Arguments

  • Immediatly (float): Whether the group should despawn immediately (1) or not (0).

Example

()despawn(1);

This example code despawns the group immediately.

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