As the title states. I can find events for almost everything but the scroll wheel.
Alternatively, maybe using a timed loop and check if the value for the scroll wheel has change? I've looked but besides Pitch and Yaw the other camera triggers don't allow you to select which player you want the value from.
Since it sounds like you're wanting to determine when the camera is zoomed in or out, why not try the "Camera Moves" event? It has a Zoom preset for its "reason" parameter.
Although you can assign different cameras to different players the problem is that your can't select each players camera. There's only "Default Game Camera".
When I have access to the editor I'll look into it but you should be able to modify pre-placed camera objects using triggers. Make sure you're looking at the Values tab. You could also assign the cameras to variables and modify them that way.
When I have access to the editor I'll look into it but you should be able to modify pre-placed camera objects using triggers. Make sure you're looking at the Values tab. You could also assign the cameras to variables and modify them that way.
I know you can modify the camera settings by using the data editor or triggers but what I want to do is get the data back for a setting in the camera.
I've modified a camera in the data editor to use the scroll wheel to change the "Field Of View" to basically act as a zooming lens for a FPS. The trouble is I want to know each time the player changes the zoom on the camera what it is now set to. For triggers there is only one option of getting data back from the camera and this trigger doesn't allow you to pick which player you get the data from.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
As the title states. I can find events for almost everything but the scroll wheel.
Alternatively, maybe using a timed loop and check if the value for the scroll wheel has change? I've looked but besides Pitch and Yaw the other camera triggers don't allow you to select which player you want the value from.
Since it sounds like you're wanting to determine when the camera is zoomed in or out, why not try the "Camera Moves" event? It has a Zoom preset for its "reason" parameter.
@DeProgrammer: Go
I'll check again but when I tried that before it didn't seem to react to the mouse scroll wheel.
Edit: The zoom seems to relate to the zoom on the keyboard. The Home and End keys.
Edit 2: If it makes any difference, I've change the default mouse scroll wheel to change the cameras FieldOfView instead of distance and pitch.
Edit 3: You can't select which player when using triggers to check a camera FieldOfView.
Edit 4: I don't think catalog will help since it only gets static/non-changing values for the Data editor.
Edit 5: Since the camera is changing its FieldOfView perhaps I could use some math to find out?
You could try assigning a different camera to each player and checking the FoV on each individual camera.
Although you can assign different cameras to different players the problem is that your can't select each players camera. There's only "Default Game Camera".
When I have access to the editor I'll look into it but you should be able to modify pre-placed camera objects using triggers. Make sure you're looking at the Values tab. You could also assign the cameras to variables and modify them that way.
I know you can modify the camera settings by using the data editor or triggers but what I want to do is get the data back for a setting in the camera.
I've modified a camera in the data editor to use the scroll wheel to change the "Field Of View" to basically act as a zooming lens for a FPS. The trouble is I want to know each time the player changes the zoom on the camera what it is now set to. For triggers there is only one option of getting data back from the camera and this trigger doesn't allow you to pick which player you get the data from.