Soldier.moveTo 2

Moves the soldier to a specified position using CoverPosition with a new DestinationWithoutCover based on the given position and current pose.


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1vec3The target position.

Examples

soldier.moveTo(vec3(10, 0, 5));

Back to Scripting API