This adds a Think() method to the Grabber, allowing it to actively look for something to weld to. The original one only tried to weld itself when you connected it to a wire.
Replace addons\wire\lua\entities\gmod_wire_grabber\init.lu a with this one.
I also abstracted some code to make it more obvious and reduce code repetition.
Just started hacking at wire tonight, please mention any bugs/code issues.


LinkBack URL
About LinkBacks




Reply With Quote











Bookmarks