Title, How do i make it so that when players scroll their mouse wheel it dose not affect the game camera, regaurdless of if they have the setting for it on or off (i have another use for the mouse wheel)
Also is there a trigger that i can use that interacts with the mouse wheel, like a key prssed event or mouse click event only it refers to the mousewheel being moved forward or back?
Even if you can detect it, there's still not a way to cancel those input ( like F10 will open the menu no matter what). The only way is to lock camera input but this will lock everything as well ( mouse +keyboard scroll)
If that helps you can go into the Data Editor, Camera Tab
There you can delete the different zoom levels and only keep a single one.
That'd only work if you have a single camera setting thorough the map, tho. Otherwise turning the mouse wheel would reset the camera to this one setting.
To clarify on what s3rius said, what you want to do is go to Data Editor, Camera Tab, then go to "Default Camera" and find where it says Zoom Levels. Go under each of these and change 'Modify' to Disable on each of them. This should prevent mouse wheel scrolling from altering the camera.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Title, How do i make it so that when players scroll their mouse wheel it dose not affect the game camera, regaurdless of if they have the setting for it on or off (i have another use for the mouse wheel)
Also is there a trigger that i can use that interacts with the mouse wheel, like a key prssed event or mouse click event only it refers to the mousewheel being moved forward or back?
bump
im not aware of how to detect when you roll the mouse up or down, just when you press/click the mouse wheel (middle mouse) button up or down.
@ezbeats: Go
Even if you can detect it, there's still not a way to cancel those input ( like F10 will open the menu no matter what). The only way is to lock camera input but this will lock everything as well ( mouse +keyboard scroll)
If that helps you can go into the Data Editor, Camera Tab
There you can delete the different zoom levels and only keep a single one.
That'd only work if you have a single camera setting thorough the map, tho. Otherwise turning the mouse wheel would reset the camera to this one setting.
@s3rius: Go
To clarify on what s3rius said, what you want to do is go to Data Editor, Camera Tab, then go to "Default Camera" and find where it says Zoom Levels. Go under each of these and change 'Modify' to Disable on each of them. This should prevent mouse wheel scrolling from altering the camera.