Nextbot Trouble

I got my nextbot to work fine, BUT I need to make it react to damage. All I need to do is add a function to return true/false when damaged. Any ideas?

Use the OnInjured hook.

For your true/false when damaged a simple boolean statement will work with health:

[lua]function NEXTBOT:IsDamaged( )
return ( self:Health( ) < 100 );

Returns true if health is less than 100; false if 100.

You may want to lock your other thread; it is asking for the same thing.