Hard_sheep1998 0 Posted March 9, 2019 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
Maff 251 Posted March 9, 2019 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
killzone_kid 1333 Posted March 9, 2019 Use EH PlayerViewChanged https://community.bistudio.com/wiki/Arma_3:_Event_Handlers/addMissionEventHandler#PlayerViewChanged Share this post Link to post Share on other sites
Maff 251 Posted March 9, 2019 On 3/9/2019 at 7:08 PM, killzone_kid said: Use EH PlayerViewChanged https://community.bistudio.com/wiki/Arma_3:_Event_Handlers/addMissionEventHandler#PlayerViewChanged Ah! I have been playing around with addMissionEventHandler quite a bit recently, I didn't even think of suggesting PlayerViewChanged! Share this post Link to post Share on other sites