Garry's Mod Wiki

NPC:MoveClimbExec

  number NPC:MoveClimbExec( Vector destination, Vector dir, number distance, number yaw, number left )

Description

Executes a climb move.

Related functions are NPC:MoveClimbStart and NPC:MoveClimbStop.

Arguments

1 Vector destination
The destination of the climb.
2 Vector dir
The direction of the climb.
3 number distance
The distance.
4 number yaw
The yaw angle.
5 number left
Amount of climb nodes left?

Returns

1 number
The result. See AIMR enum.