AiState.getMovementType

Returns a string describing the state's movement type.

Kind: Function

Environments: Game

Game

aiState:getMovementType(  )

Open the full Game reference

Availability: Server only

Movement type can be "stand", "walk", "sprint" or "crouch".

Parameters:

Name Type Description
state AiState The state.

Returns:

Type Description
string The movement type.