Skip to content

Class: CALifeMonsterMovementManager

ALife monster movement manager binding.

Source

C++ class CALifeMonsterMovementManager

Custom Constructor

CALifeMonsterMovementManager

Remarks

Owned by an offline monster brain. The returned detail and patrol managers are engine-owned.

Constructors

Constructor

ts
new CALifeMonsterMovementManager(): CALifeMonsterMovementManager;

Returns

CALifeMonsterMovementManager

Methods

actual()

ts
actual(): boolean;

Check whether the movement target is still actual.

Returns

boolean

Whether movement is actual.


completed()

ts
completed(): boolean;

Check whether offline movement has completed.

Returns

boolean

Whether movement is complete.


detail()

ts
detail(): CALifeMonsterDetailPathManager;

Get the detail path manager.

Returns

CALifeMonsterDetailPathManager

Detail path manager.


path_type()

ts
path_type(): TXR_game_object_path;

Get the active offline path type.

Returns

TXR_game_object_path

Movement path type.


patrol()

ts
patrol(): CALifeMonsterPatrolPathManager;

Get the patrol path manager.

Returns

CALifeMonsterPatrolPathManager

Patrol path manager.