set_respawn_time - ryzom/ryzomcore GitHub Wiki


title: Set Respawn Time description: published: true date: 2023-03-12T23:42:26.430Z tags: editor: markdown dateCreated: 2023-03-12T23:42:23.610Z

setRespawnTime

The setRespawnTime native AI script function sets the time in game cycles before the current group is respawned.

Syntax

()setRespawnTime(RespawnTime: f)

Arguments

  • RespawnTime (float): The respawn time in ticks. Use -1 to set "pseudo-infinite".

Example

setRespawnTime(80);
setRespawnTime(-1);

These examples code set the respawn time of the current group to 80 ticks and to "pseudo-infinite", respectively.

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