Garry's Mod Wiki

CLuaLocomotion:SetAvoidAllowed

CLuaLocomotion:SetAvoidAllowed

  CLuaLocomotion:SetAvoidAllowed( boolean allowed )

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

Description

Sets whether the Nextbot is allowed try to to avoid obstacles or not. This is used during path generation. Works similarly to nb_allow_avoiding convar. By default bots are allowed to try to avoid obstacles.

Arguments

1 boolean allowed
Whether this bot should be allowed to try to avoid obstacles.

Special Pages


Wikis

?

Render Time: 46ms

DB GetPage 27
Generate Html 3
SaveChanges (1) 7
Render Body 0
Render Sidebar 8