FANDOM


band.IsEnabled Edit

Function
boolean band.IsEnabled(integer bandIndex)
Description
Return whether a band is enabled.
V1 Function Name
New to V2

Remarks: Edit

Example: Edit

Function to check that any band is enabled. Returns true or false.

function anyBandEnabled()
  local result=false
    for i=1,band.GetCount() do
      if band.IsEnabled(i) then 
         result=true
         break
      end
    end
  return result
end

Community content is available under CC-BY-SA unless otherwise noted.