Garry's Mod Wiki

CLuaLocomotion:SetClimbAllowed

  CLuaLocomotion:SetClimbAllowed( boolean allowed )

Description

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

Arguments

1 boolean allowed
Whether this bot should be allowed to climb.