Garry's Mod Wiki

NEXTBOT:OnStuck

NEXTBOT:OnStuck

  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

Special Pages


Wikis

?

Render Time: 76ms

DB GetPage 60
Generate Html 0
SaveChanges (1) 6
Render Body 0
Render Sidebar 8