From Garry's Mod
Revision as of 13:50, 8 April 2013 by Robotboy655 (Talk | contribs)
Jump to: navigation, search
 NextBot:HandleStuck( )


Called from Lua when the NPC is stuck. This should only be called from the behaviour coroutine - so if you want to override this function and do something special that yields - then go for it.

You should always call self.loco:ClearStuck() in this function to reset the stuck status - so it knows it's unstuck.

Personal tools