I *think* it works this way...
Code:
if not InCombatLockdown()
and (test for the override bar special case)
then
nUI_ActionBar:SetAttribute( page, "nui_override" );
end
and to set the action bar itself up to show the overlay bar when that happens...
Code:
RegisterStateDriver(nUI_ActionBar, "page", "[vehicleui] 12; [nui_override] 14; [overridebar] 14; [bar:2] 2; [bar:3] 3; [bar:4] 4; [bar:5] 5; [bar:6] 6; [bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10; [bonusbar:5] 11;1" );
I think that's right. If not, it should be close.
Note that you can't set attributes on secure frames while in combat, so that's why I added that test.