SetEntityMoveType Function

Sets an entity's movetype.

void SetEntityMoveType(int entity, MoveType mt)

Parameters

int entity

Entity index.

MoveType mt

Movetype, see enum above.

Errors

Invalid entity index, or lack of mod compliance.