Jump to content
Sign in to follow this  
jakeplissken

CBA rose menu help. Adding more than one option.

Recommended Posts

I have a menu I am working on for a version of AW Invade and Annex, it allows the player to select various options when the right Windows key is pressed, but I cannot work out how to add more than one option.

 

co60_AW_Invade_Annex_2_85C_fnc_Earplugs = {
	if (soundVolume == 1) then {
		1 fadeSound 0.2;
	} else {
		1 fadeSound 1;
	};
};

test_flex = {
    [
        ["Testing", "Action", "CBA_flexiMenu_rscRose"],
        [
            ["Earplugs", {
                _this call co60_AW_Invade_Annex_2_85C_fnc_Earplugs;
                true
            },
			"", "", [], 0x12, true, true]
        ]
    ];
};

["Test Mod", "Open Menu", ["player", [], -100, "_this call test_flex"],
    [0xDC, false, false, false]
] call CBA_fnc_registerKeybindToFleximenu;

There is not much documentation on this feature, but it would be very good, as instead of having a few obscure keybinds, I can have this instead. Has anyone else tried this and got it to work? The one option I added works, but some others are needed.

 

Thanks for any help you can offer.

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
Sign in to follow this  

×