Hi all,
I am currently programming with quake 3 arena's menu script to create some menus for a project. There are cases when the menu would be showing a cinematic video, the .roq format that quake 3 plays natively. However I'd like to be able to disable the mouse cursor while the video is being played (the video isn't full screen, it is showing as part of the menu), and then enabling it back when the video is done playing. How would I be able to do that? Is it part of the engine code? or I can do that in the mod? and what variable am I looking at? thanks all.
Disabling/Enabling mouse cursor
Re: Disabling/Enabling mouse cursor
I've used the find-in-files func to find everything with "cursor" inside, and voilá:
It's in ui_atoms btw.
Code: Select all
// draw cursor
UI_SetColor( NULL );
UI_DrawHandlePic( uis.cursorx-cursor_size/2, uis.cursory-cursor_size/2, cursor_size, cursor_size, uis.cursor);
[color=#FF0000]/callvote kick all_enemies[/color]