-
Notifications
You must be signed in to change notification settings - Fork 94
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
The setAutoSpawn native AI script function determines whether the current group should respawn automatically after despawn.
()setAutoSpawn(AutoSpawn: f)
- AutoSpawn (float): Whether the group should automatically respawn (1) or not (0).
()setAutoSpawn(1);
This example code sets the group to respawn automatically after despawn.