Jump to content
dlder

EventHandler for when changing (into "gunner") view?

Recommended Posts

Hi there!

 

I want to execute some code when exiting from "gunner" view; for that I would like to add an EventHandler.

I did the same for when closing the "Map", but I just cannot find the EventHandler for "PlayerView"!?

 

Ok, I did find this: https://community.bistudio.com/wiki/Arma_3:_Event_Handlers/addMissionEventHandler#PlayerViewChanged

But for unknown reasons, this won't trigger; at all. Especially when going from "first person" into "gunner" view and back...

 

Any ideas?

 

Thanks in advance,

Markus

Share this post


Link to post
Share on other sites

There is no such event handler in the game.

As for PlayerViewChanged, please ready carefully its description 😉

"Player view changes when player is changing body due to teamSwitch, gets in out of a vehicle or operates UAV for example."

Share this post


Link to post
Share on other sites

Yeah, I thought the "body" part was why it's not working 😄

Thanks for confirming!

Might I be able to do some... while{} trickery?

 

btw: RHS? Love your addons! Great effin work!!

Share this post


Link to post
Share on other sites

scripted event handler... sounds usefull!

Thank you very much!

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

×