Skip to content
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

Detect SOG Cinematic module camera in feature camera #1466

Merged
merged 2 commits into from Jun 17, 2021

Conversation

veteran29
Copy link
Member

When merged this pull request will:

  • title

@PabstMirror
Copy link
Contributor

if (isClass (configFile / "cfgpatches" / "soggy_something")) then {
    ["vn_cinematic", {missionNamespace getVariable ["vn_cinematic_running", false]}] call CBA_fnc_registerFeatureCamera;
};

small optimization prevents code from being run if not needed

@commy2
Copy link
Contributor

commy2 commented Jun 16, 2021

What pabst wrote, but with >> instead.

@DerZade
Copy link

DerZade commented Jun 16, 2021

Also don’t forget to update the docs of CBA_fnc_getActiveFeatureCamera. ☺️

@PabstMirror PabstMirror added this to the 3.15.4 milestone Jun 16, 2021
@commy2 commy2 merged commit a9f06df into master Jun 17, 2021
@commy2 commy2 deleted the sog-cinematic-feature-camera branch June 17, 2021 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants