I was told this is impossible, but I wonder...
Here's a trigger that almost works:
Basically, the idea is to detect camera movement that is caused by the middle mouse, then reset it. The problem, is that the camera movement appears to be on a scale from "all the way down" to "all the way up". I want to force the actual camera to be in the middle, so if the mouse rolls up the camera goes in one direction, down it goes in another. But the way it appears to work, whatever you assign the camera to in the trigger, the mouse cannot roll up anymore.
Still, I'm not sure this is impossible. Has anyone tried something like this before?
UPDATE:
Here's a trigger that almost works:
-
mouse test
-
Events
- Time - Every 0.07 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Angle of attack of the current camera view) Less than camera
-
Then - Actions
- Game - Display to (All players) the text: down
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Angle of attack of the current camera view) Greater than camera
-
Then - Actions
- Game - Display to (All players) the text: up
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Camera - Reset camera for Player 7 (Green) to standard game-view over 0.00 seconds
- Camera - Lock camera target for Player 7 (Green) to Blood Mage 0025 <gen>, offset by (0.00, 0.00) using Default rotation
- Camera - Set Player 7 (Green)'s camera Angle of attack to 315.00 over 0.00 seconds
- Set camera = (Angle of attack of the current camera view)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Basically, the idea is to detect camera movement that is caused by the middle mouse, then reset it. The problem, is that the camera movement appears to be on a scale from "all the way down" to "all the way up". I want to force the actual camera to be in the middle, so if the mouse rolls up the camera goes in one direction, down it goes in another. But the way it appears to work, whatever you assign the camera to in the trigger, the mouse cannot roll up anymore.
Still, I'm not sure this is impossible. Has anyone tried something like this before?
UPDATE:
-
mouse test Copy
-
Events
- Time - Every 0.25 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Angle of attack of the current camera view) Greater than camera
-
Then - Actions
- Game - Display to (All players) the text: up
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Angle of attack of the current camera view) Less than camera
-
Then - Actions
- Game - Display to (All players) the text: down
- Else - Actions
-
If - Conditions
- Set camera = (Angle of attack of the current camera view)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events