Garry's Mod Wiki

Garry's Mod Wiki

  NEXTBOT:OnStuck()

Description

Called when the bot thinks it is stuck.

Example

Kills the bot when getting stuck, using a new damageinfo object.

function ENT:OnStuck() local dmginfo = DamageInfo() dmginfo:SetAttacker( self ) self:OnKilled( dmginfo ) end

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...