Garry's Mod Wiki

CLuaLocomotion:SetJumpGapsAllowed

  CLuaLocomotion:SetJumpGapsAllowed( boolean allowed )

Description

Sets whether the Nextbot is allowed to jump gaps or not. This is used during path generation. Works similarly to nb_allow_gap_jumping convar. By default bots are allowed to jump gaps.

Arguments

1 boolean allowed
Whether this bot should be allowed to jump gaps.