Jump to content

Recommended Posts

Hello i was asking today myself how i can get the Camera Position (or view position doesnt matter) of an target, because i want to check if the player uses switchCamera. CameraOn would do the job perfectly to check if the player uses switchCamera but since i cant run it on each player it is kinda sad (if cameraon _x == player do blah blah .. would do exactly that what i want). Or is there any way to get the position of the camera attached to the player and check if the camera position of the player is equal to a different camera position that would do the same but i already tried it with 'getCameraViewDirection' didnt really work.

 

Thanks.

Share this post


Link to post
Share on other sites
  On 3/9/2019 at 12:52 AM, Hard_sheep1998 said:

 i want to check if the player uses switchCamera.

 

Do you want to check if the player changes view?

Have a look at cameraView.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×