Hi. I'm having some troubles getting the value of the current camera height offset of a player. With triggers, I can use the Camera Objet Property, but then my only choice is to pick the Default Game Camera, and this doesn't return anything good. Do someone know how to get the real value of the height offset of any player?
In the Camera Object Property action, click the Default Game Camera, then choose the function tab. You will see a long list of functions. Choose the one you want.
No there's not. I want to set a real variable to the value of a certain Camera Property, so my action is set variable. Then in the value, I pick the function Camera Object Property (in the Camera functions, there are only 3 possibilities: Camera Object Property, Current Camera Yaw/Pitch of Player).
When picked, I have to set 2 parameters: which camera and which property. There is no problem for the property, but for the camera... I can't choose any preset value, because there isn't any. The only thing I can choose is one of the 3 functions available: Default Game Camera, Copy of Camera or Value from Data Table. Maybe the answer to my question is in that last function, but I don't know what it is nor how it works.
Sorry, didn't check the trigger editor when I posted. I've just looked it up and see what you mean.
Well, not 100% sure but you can try:
Camera - Apply camera object Height Offset (Ground height at (Current camera target of player 1)) for player 1 over 2.0 seconds with Existing Velocity% initial velocity and 10% deceleration
@Wakeman: Go
It's not setting that's the problem, it's getting the values from the current camera. I too am having some serious problems that being able to get precise camera information would solve... as it stands though I have to make crude approximations, which tend to end up being wildly inaccurate in many cases.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi. I'm having some troubles getting the value of the current camera height offset of a player. With triggers, I can use the Camera Objet Property, but then my only choice is to pick the Default Game Camera, and this doesn't return anything good. Do someone know how to get the real value of the height offset of any player?
In the Camera Object Property action, click the Default Game Camera, then choose the function tab. You will see a long list of functions. Choose the one you want.
No there's not. I want to set a real variable to the value of a certain Camera Property, so my action is set variable. Then in the value, I pick the function Camera Object Property (in the Camera functions, there are only 3 possibilities: Camera Object Property, Current Camera Yaw/Pitch of Player). When picked, I have to set 2 parameters: which camera and which property. There is no problem for the property, but for the camera... I can't choose any preset value, because there isn't any. The only thing I can choose is one of the 3 functions available: Default Game Camera, Copy of Camera or Value from Data Table. Maybe the answer to my question is in that last function, but I don't know what it is nor how it works.
Sorry, didn't check the trigger editor when I posted. I've just looked it up and see what you mean.
Well, not 100% sure but you can try:
Camera - Apply camera object Height Offset (Ground height at (Current camera target of player 1)) for player 1 over 2.0 seconds with Existing Velocity% initial velocity and 10% deceleration
@Wakeman: Go It's not setting that's the problem, it's getting the values from the current camera. I too am having some serious problems that being able to get precise camera information would solve... as it stands though I have to make crude approximations, which tend to end up being wildly inaccurate in many cases.