Garry's Mod Wiki

CLuaLocomotion:JumpAcrossGap

  CLuaLocomotion:JumpAcrossGap( Vector landingGoal, Vector landingForward )

Description

Makes the bot jump across a gap. The bot must be on ground (Entity:IsOnGround) and its model must have ACT_JUMP activity.

Arguments

1 Vector landingGoal
2 Vector landingForward