The setRespawnTime native AI script function sets the time in game cycles before the current group is respawned.
()setRespawnTime(RespawnTime: f)
setRespawnTime(80);
setRespawnTime(-1);
These examples code set the respawn time of the current group to 80 ticks and to "pseudo-infinite", respectively.