I am having problems with the command "mouse_force" which constantly gives an intermitent value of 0 although the mouse is moving and I need to resolve this for my network code.
example problem: ***************************************************************************** var dat; PANEL* inf= { digits(10, 10,"Dat: %f","Arial#25b",1, dat); flags = VISIBLE; }
function main() { video_switch(6,32,2); //mouse_calm = 0; mouse_time = 16; mouse_moving while(1) { if (mouse_force.x>0){dat=1;} if (mouse_force.x<0){dat=2;} if (mouse_force.x==0){dat=0;} wait(1); } }