-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Feature Camera Player EH and Handling #6573
Conversation
@@ -22,9 +22,9 @@ if ((currentVisionMode ACE_player) != 1) exitWith { | |||
[GVAR(PFID)] call CBA_fnc_removePerFrameHandler; | |||
GVAR(PFID) = -1; | |||
}; | |||
if (EGVAR(common,OldIsCamera)) exitWith { | |||
if (call CBA_fnc_getActiveFeatureCamera != "") exitWith { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This runs every frame, I'd rather just use the var cba_events_OldIsCamera
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not cba_events_OldFeatureCamera != ""
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ready to go with cba 3.9
* Switch to CBA Feature Camera handling * Register ACE3's Feature Cameras * Backwards compatiblity for old ace event * Require CBA 3.9
When merged this pull request will:
"ace_activeCameraChanged"
event.Requires CBA 3.9.0 (unreleased)! (possibly higher) - CBATeam/CBA_A3#982