set_respawn_time - ryzom/ryzomcore GitHub Wiki
title: Set Respawn Time description: published: true date: 2023-03-16T23:11:22.953Z tags: editor: markdown dateCreated: 2023-03-16T22:29:09.696Z
The setRespawnTime native AI script function sets the time in game cycles before the current group is respawned.
()setRespawnTime(RespawnTime: f)
- RespawnTime (float): The respawn time in ticks. Use -1 to set "pseudo-infinite".
setRespawnTime(80);
setRespawnTime(-1);
These examples code set the respawn time of the current group to 80 ticks and to "pseudo-infinite", respectively.