Skip to content

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

setDespawnTime

The setDespawnTime native AI script function is used to set the time before the current group is despawned.

Syntax

()setDespawnTime(DespawnTime: f)

Arguments

  • DespawnTime (float): The despawn time in ticks. A value of -1 will set the despawn time to "pseudo-infinite".

Example

()setDespawnTime(80); ()setDespawnTime(-1);

These examples set the despawn time for the current group to 80 ticks and "pseudo-infinite", respectively.

Clone this wiki locally