View Full Version : switch mouse from game to menu
11-12-2010, 10:42 PM
Is there a scaleform command to switch who owns the mouse?
When i open a menu i do not want the mouse movement to affect the camera of my player
11-16-2010, 12:42 AM
I still cant figure this out.
The cursor is working in my movie but i dont want my player to move when a menu is open. Only the cursor. Is this an obvious thing? I do not seem to find it.
11-16-2010, 02:12 AM
I don't know if there is a default way to stop the game from receiving input from both keyboard and mouse but what I do when entering the menu is setting a new state in the playercontroller and overriding the PlayerMove function so that it does nothing while in that state.
That is only when I want the game to run in the background. If I want the game to pause while in the menu then using the console command pause and setting the time mode of the swf to TM_Real should also solve your problem.
11-16-2010, 07:40 AM
great idea with playermove.
12-08-2010, 11:21 AM
You can disable the movement of the player camera when you are in the menu by entering into a cinematic mode before the menu is loaded. This can be done in Unreal Kismet by using the "Toggle Cinematic Mode" block before the "Open GFx Movie" block. Also, it should be noted that the "Toggle Cinematic Mode" should be triggered in at least 1 second delay after the "Level Loaded" event in order the cinematic mode to work.
12-09-2010, 01:00 AM
Kind of stupid but i realized that all i needed was to set the captureinput to true and eliminated my player movements.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.