btlAtel Set Despawn Type

Signature

void btlAtelSetDeSpawnType(type, posRange, posId); //id:0x3019

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

triangle-exclamation
circle-info

The position identifier and position range arguments are only used if the type argument is set to 2.

Last updated