btlAtel Set Despawn Type
Signature
Description
Sets the despawn type of the current actor.
Arguments
Type
Identifier
Name
Description
0
None
Actor won't despawn.
1
Leader
Actor will despawn if they are more than 43 meters away from the player party leader.
2
Position
Actor will despawn if they are more than x meters away from spawn position y.
Position Range
If a value of 0
is passed, it will be changed to 6
. Otherwise, it will be divided by 10
.
Position Identifier
This identifier refers to the entry in section 16 of the ebp file.
Notes
If the position identifier is invalid, the actor will not despawn at all.
Last updated