Posted By: Germanunkol
mouse_ent A8 - 06/16/12 19:20
Hi,
Again, a problem when upgrading to A8: "mouse_ent" is always NULL, no matter where I move the mouse.
I wrote this code to help me debug: it always prints nil.
Mouse_range is 99999.
Tried with mouse_mode 4 and 0.
Again, a problem when upgrading to A8: "mouse_ent" is always NULL, no matter where I move the mouse.
Code:
while(1) { draw_text(str_for_num(NULL, mouse_range), 200,150, vector(200, 250,250)); if(mouse_ent) draw_text(str_for_entfile(NULL, mouse_ent), 200,100, vector(200, 250,250)); else draw_text("nil", 200,100, vector(200, 250,250)); wait(1); }
I wrote this code to help me debug: it always prints nil.
Mouse_range is 99999.
Tried with mouse_mode 4 and 0.