The Dink Network

Reply to noclip() Error

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 28th 2012, 02:30 PM
pillbug.gif
pillbug
Peasant He/Him United States
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.