The Dink Network

noclip() Error

Mouse Mode Tutorial

May 28th 2012, 02:30 PM
pillbug.gif
pillbug
Peasant Male United States xbox steam
Love! True love! 
Just a heads up to anyone who uses this file:

sp_noclip(1, 1);

When changing from Dink to a mouse, the above line is used. This allows the mouse to go over the status bar and the borders of the screen. However, it is not set back to 0 in the lines that change Dink back. Add the following line (I put it after sp_que(1, 0); but it doesn't really matter) to the code:

sp_noclip(1, 0);


This remedies an annoying problem where Dink will walk slightly over the borders before the screen changes. It's not duper noticeable, but in case anyone uses this file, that's how to fix it.