-
Notifications
You must be signed in to change notification settings - Fork 94
set_despawn_time
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Set Despawn Time description: published: true date: 2023-03-16T23:10:26.006Z tags: editor: markdown dateCreated: 2023-03-16T22:27:55.112Z
The setDespawnTime native AI script function is used to set the time before the current group is despawned.
()setDespawnTime(DespawnTime: f)
- DespawnTime (float): The despawn time in ticks. A value of -1 will set the despawn time to "pseudo-infinite".
()setDespawnTime(80); ()setDespawnTime(-1);
These examples set the despawn time for the current group to 80 ticks and "pseudo-infinite", respectively.