despawn - ryzom/ryzomcore GitHub Wiki


title: Despawn description: published: true date: 2023-03-12T23:17:14.100Z tags: editor: markdown dateCreated: 2023-03-12T23:17:11.007Z

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** ⚠️