Skip to content

set_auto_spawn

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

title: Set Auto Spawn description: published: true date: 2023-03-16T23:10:07.030Z tags: editor: markdown dateCreated: 2023-03-16T22:27:32.404Z

setAutoSpawn

The setAutoSpawn native AI script function determines whether the current group should respawn automatically after despawn.

Syntax

()setAutoSpawn(AutoSpawn: f)

Arguments

  • AutoSpawn (float): Whether the group should automatically respawn (1) or not (0).

Example

()setAutoSpawn(1);

This example code sets the group to respawn automatically after despawn.

Clone this wiki locally